Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

TruClient Firefox authentication

$
0
0

Hello,

I have a TruClient Firefox script that opens a website that requires authentication to changing amount of domains. For example opening http://homepage.domain.com it always requires authentication to homepage.domain.com but also to http://datasheet.domain.com and/or http://manuals.domain.com depending on the data loaded in http://homepage.domain.com. I have one user account (domain.com\user1) which can login to all these domains.

TruClient Firefox (Vugen 12.02) is able to pick up pop-up authentication dialogues and I am able to create a script which logins correctly to the current amount of logins requred. Problem is that as web site developers/admins change the layout and the content of the http://homepage.domain.com it might require a different amount of logins to various domains. Therefore there might be an extra authentication dialog in the script which fails OR the site might need one more authentication dialog and fails because it is not there.

With WEB/HTML or Click&Script I could use:

web_set_user( "domain.com\user1", "password1", "homepage.domain.com:80" );

web_set_user( "domain.com\user1", "password1", "datasheet.domain.com:80" );

web_set_user( "domain.com\user1", "password1", "manuals.domain.com:80" );

 

Any way to use such functions for example in C-functions.c or JS-functions.js include in TruClient Firefox? Or any other ideas how to resolve this?

Also if it could be possible to identify appeared pop-up dialogs we could then create an IF Flow control which could then login to the correct amount of pop-up dialogues. But at least Verify of Wait for Object functions are unable to identify those pop-ups.

Thanks for the replies!

 

 


Re: Facing issue with Web Tours Creating Customer Profile

$
0
0

Thanks for your advice.

Duplicating and editing user file worked but running the Web Tours Server as an adminisrator doesn't work for me.

When I try to start it as admin, cmd windows pops-up and closes immidiatelly.

May be it's a securty issue of my OS.

I duplicated the user files and edited them for multi thread tutorial purposes.

Re: TruClient Firefox authentication

$
0
0

Hi,

In 12.50 you can handle that with Dialog Event Handler and make sure you authenticate whenever the dialog appears. 

In 12.02 you can workaround it by adding additional authentication steps where needed and "Catch Error" step after each one of them. If authentication is required the step will be replayed, if not, it will fail on timeout and the catch error will catpure it allowing the script to continue to run

Regards,

Shlomi

Re: SAP-HANA Protocol?

$
0
0

Hello,

Does SAP Hana applications like SuccessFactors and BusinessByDesign are supported by Web (HTTP/HTML ) protocol or does it requires SAP-Web/SAP GUI Protocol?

Br

Shinu

SAP HANA Apps Successfactors and BusinessByDesign supported by Web protocol?

$
0
0

Hello,

 

Are SAP HANA Apps Successfactors and BusinessByDesign supported by Web protocol? or do we need SAP Web/ SAP GUI protocols for this?

 

Regards

Shinu

Performance Center in Azure to On Premise LG connectivity

$
0
0

Hi,

How can we conned Performance Center in Azure to On Premise LGs in a firewall protected Network.

Does normal Monitoring over Firewall rules apply eg, port 443 .  Or are there other options as well

Regards

Shinu

Re: SAP-HANA Protocol?

$
0
0

I'm not familiar with these applications, but it all depends on the client application and the interface it uses to communicate with the server. For example, if the client application is SAPGUI, then you should be using the SAPGUI protocol. But if it runs in the browser, go for Web HTTP or SAP Web (which uses the same technology as Web HTTP, but makes the SAP-related correlations simpler).

Ajax TruClient doesn't preview PDF in load mode

$
0
0

Hi,

I'm using VuGen 12.02.

My application has an export functionality in PDF.

I successfully managed to make the PDF open as a new tab in interactive mode, so I can use a "Verify" step to check the PDF's content.

But I cannot make this work in load mode. When I add the "PaintWindowsInLoad=1" in the default.cfg file, I see that the PDF is no more opened in a tab, but instead firefox asks the user what to do with the file (either open of download it).

So my question is: how can I make the load mode works as the interactive (preview the PDF in the browser) ?

More information: I know that the setting is in the mimeType.rdf file. But I cannot copy the file from profiles/interactive directory to the profiles/load/user_profile directory of the scenario, because the profiles/load/user_profile is cleaned at each execution! So the second question is: from where the content of profiles/load/user_profile is copied from?

Many thanks,

Sylvain.


Re: Issues with creating loadrunner scripts on iOS

Re: A call to SSPI failed, see inner exception error in load runner proxy recording

$
0
0

Hi Prabhakar,

I am also facing the same error.

Have you got any solution for this error.

Thanks 

Nikhil

Re: Recording Java Standalone EJB application

$
0
0

Hello Lalitha

 

Please make sure you are using “Java Record and Replay” LR’s protocol, since it is most appropriate for kind of application you have mentioned. I’d suggest to choose “Record: Executable\Batch” kind of recording mode, and specify a file path to your *.bat file.

If you already flowed the instructions above – please consider to use some higher version of LR’s Vugen for script recording (LR12.01 is pretty old) that can be downloaded for free, it might be some kind of LR’s misbehavior, that is already fixed at newer LR.

Please call official HP support if this option works for you.

 

Thanks, Dmitry

Vuser Ramp Issue

$
0
0

Hello,

I am using LR 11.04 on win2003 server SP2.  For the last one week, vuser rampup is not working correctly.  I setup the scenario such that vusers should be ramped up 1 every second.  vuser count is 600.  So, ramp up should finish in 10minnutes.  What is happening is it ramps up few vusers(some times 8, some times 13 and so on.. this number changed every run) and does nothing for a while and ramps up some more vusers and so on.  Total ramp up time takes 15minutes - 45minutes.

I tried severa things for the last few days .. like running the same scenario that used to work before, create and run a new scenario with an empty script, restarting controller machine, using loadgenerator as localhost/other machine, running scenario with different scenario and group schedules ... nothing worked so far.

Any tip/solution to fix this issue would be helpful.

Thanks.

 

Re: Ajax TruClient doesn't preview PDF in load mode

$
0
0

Try to copy mineTypes.rdf from the script profile folder to %LR_PATH%\bin\firefox\browser\defaults\profile\, Create the folder if it doesn't exist.

Re: Vugen Script for Outlook web access (OWA) 2010

$
0
0

Hi,

I have recorded the outlook owa 2010 while recording but it is failing in replay. I am getting errror "An error occurred when processing the security tokens in the message.". Have you made any special settings for authentication checking?

Thanks

Re: Vuser Ramp Issue

$
0
0

Hi GVR, 

The behavior you are describing can be result of modifications in the scenario, the scripts or groups used in the scenario or some change in the environment.

Was exactly the same scenario working before? Are there any changes made? 

Is there any change in the number of the Vusers groups? Are you using the same scripts or they were modified and how? Are you using the same script protocols? 

Are you using the same load generators and the same number of load generators as the ones which was used when it was working before? 

Is there a change in your environment? Are there new programs, update installed? Please check the CPU and memory usage on the controller and Load generator machines?

Please also note that LoadRunner 11.04 is a rather old version of the product and we strongly recommend moving to LoadRunner 12.20 or the latest 12.50 version. 

https://softwaresupport.hp.com/web/softwaresupport/obsolescence-migrations#tab3 

Kind regards, 
Vesela 

 


Re: Outlook authentication failure during script replay in WEB HTTP/HTML protocol

$
0
0

Hi Abhijit,

Could you please explain your scenario little more?

If you want to test MS outlook then you can simple you MAPI, SMTP or POP3 as per your requirement

 

Re: VuGen MAPI Script - Check for Unread Email

$
0
0

Hi Ashok,

Have you used correct loop condition, as example given inVuGen function reference :

do {

        // Peek at next mail (don't mark it as read)

        rc = mapi_read_next_mail("NextMail",

                "Show=all",

                "Peek=True",    

                "Type=IPM.Note",

                LAST );

    } while (rc == LR_PASS);   

Re: Outlook authentication failure during script replay in WEB HTTP/HTML protocol

$
0
0

I am trying to make one script on CRM application which is a plug-in in Outlook. I am using HP Loadrunner tool.

I am able to record the whole application flow using web http/html protocol. I am facing an authentication problem while replaying the script. The Security tokens which are there in some script requests, I am not getting those from previous request's response.

My application is using Microsoft Outlook as client.

Re: Facing issue with Web Tours Creating Customer Profile

$
0
0
Glad it helped. Consider marking this as "solved" so that others can benefit as well.
Thanks,
Lior

Re: Load Runner :Script in VuGen Works but that fails in Controller.

$
0
0

I was also facing the same issue and was getting 500 error when user was failing.

I Tried following options:

1) Use UnIque value in the parameterization where it is failing

2) Check manually application in different browsers to verify whether the application is giving issue on multiple user

3) Check script simultaneously during the execution

4) Try to cut the init sections code and paste it in to action

5) Check the run time settings of the script properly

6) Finally remove the script from the scenario, and upload it again 

              6th solution worked for me.... :)

Viewing all 12134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>