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

Think Time is not recording VUGen 11.52

$
0
0

This has been an annoyance for a while, but VuGen is no longer recording think time when I record scripts.  I'm using the Web - HTTP/HTML protocol.  It worked in older versions.  I have the following settings

Recording Options -> General -> Script

Generate think time greater than threshold = 3

Generate fixed think time after end transaction = not set

I have installations on two separate machines, and I experience the same behaviour.  I'm also waiting for longer than 3 seconds while browsing each page while I script.  I don't think I'm missing any patches either. 

Any ideas anyone?

 


OS Pop up recognition in TrueClient

$
0
0

Hello,

One of the old issues with TC is recognition of external OS pop ups.  With 12.5 coming in , did we get any workaroud by using javascript to recognize the OS pop up box and press cancel/save in it . I have a step in UI which opens a pop up to save/open/cancel an excel file.  If i do not not press any button in this step and continue to next steps, the next iteration fails as the file operation is still not completed. I tried few of the JS (self.close() etc.) snippets but it did not work. Without using other automation tools than LR, did anyone face this issue recently and got any solutionTC?  The application is build on Qliksense and Http/html protocol does not recognize the objects, thus we are using TC IE (parsing header with use of fidler would be troublesome for 25 scripts!!)

Reference from an old thread:

/t5/LoadRunner-Practitioners-Forum/Pop-up-recognition-in-Ajax-Tru-Client-Protocol/td-p/6018407



Re: Truclietn page scroll causes lost object

$
0
0

Hi Michael,

Please drop a Generic Browser Action step from the toolbar and place it right after the step that causes the unexpected scroll.

Change the action in the newly added step from Navigate to Scroll. Modify the coordinates to scroll up.

Hope it will help

Regards,

Shlomi

 

Re: OS Pop up recognition in TrueClient

$
0
0

Hi,

This can be done using C function.

Below you can find an example for such a function. Read the code, understand what it is doing and modify it to do what you need.

Add Evaluate C step in the right timing in the script/.sidebar. It is advised to add a Wait step before the Evaluate C step in order to ensure the modal dialog really appears.

void pressButton() 
{
    int nDownloadWindow;
    int nButton;
    lr_load_dll("Kernel32.dll");
    lr_load_dll("User32.dll");
    nDownloadWindow = FindWindowA(0, "File Download - Security Warning"); // change the title according to your case
    if (nDownloadWindow != 0) 
    {
        lr_output_message("found download window %u", nDownloadWindow);
        PostMessageA(nDownloadWindow, 256, 27, 0); // you can get the coordinates of the button using Spy++ or other object inspector
        PostMessageA(nDownloadWindow, 257, 27, 0);
    }
    else  //fallback in case the window title is different
    {
        nDownloadWindow = FindWindowA(0, "File Download");
        if (nDownloadWindow != 0) 
        {
            lr_output_message("found download window %u", nDownloadWindow);
            // Open button - 4426
            // Save button - 4427
            nButton = GetDlgItem(nDownloadWindow, 4426); // 4426, ID of open button
            if (nButton != 0)
            {
                        PostMessageA(nButton, 245, 0, 0);
                        lr_output_message("found button window %u", nButton);
            }
            else 
            {
                        lr_output_message("Error button window %u", GetLastError());
            }
        }
    }
}

You can define a parameter for the window title and use it in the C code.

Good luck,

Shlomi

 

Re: Using LR12.53 with Oracle 12 EBusiness Suite 12.2.5

$
0
0

Hi,

Oracle indeed added additional correlations to login since EBS 12.4.4. Correlations are web based, Oracle forms part stayed the same (jsessionid, icx_ticket etc.).

Correlations required in few web requests to *.jsp. You can correlate them manually once and add as rules in VuGen "Correlation Studio" to use for other scripts.

Regards,

MIkhail

Re: RTE Protocol Terminal Window Disappear When I click on Connect Button in VuGen 12.02

$
0
0

RTE window appears when I run the cmd rtegate -bypass. and I'm able to connect to the server.

Recording issue observed with VUGen TruClient (12.50) while login to Salesforce application

$
0
0

Dear HPE Community Members,

There is a recording issue with VuGen TruClient (12.50) while login to the Salesforce application

Steps:

- Open TruClient 'Develop Script' for Firefox browser

- Select a Salesforce application (Lightning experience mode) and start recording

- Type the valid user credential (user id and password) and click on login button

- The Salesforce home page is not loading, hence further steps couldn't get recorded.

Note: There is no any issue observed while navigating similar steps manually. The Salesforce home page get loaded successfully.

Other Required information:  VuGen 12.50, Firefox 47.0.1

Please let me know if any additional information required.

Thanks in advance for the quick response.

Regards,

Shiv

 

Re: Recording issue observed with VUGen TruClient (12.50) while login to Salesforce application

$
0
0

Hi,

12.50 was released with an older Firefox version 37.02. Are you sure the firefox version didn't updated by mistake?

Please note that checking the firefox version from TruClient might trigger an update while TruClient require a specific version of Firefox.

1. Please copy the firefox folder from <LR/VUEGN>\bin to C::\temp

2. Check firefox.exe properties under C:\Temp\firefox folder. What is the version?

3. Open the browser and try to login to Salesforce. Is it successful?

Regards,

Shlomi

 

 


Setting Exceptions in Run time settings

$
0
0

Hi all,

I have a flow where the first half takes the proxy settigs in system say 20.***.***.*** ,

and the second half has a login Id password to be entered and it takes a different settings like *.che.com.

LoadRunner captures the first flow only and gives cannot display webpage error in second flow. Let me know how to deal with this.

 

Have given 20.***.*** in use custom proxy setting in LR, and in exceptions gave the *.che.com

Re: Recording issue observed with VUGen TruClient (12.50) while login to Salesforce application

$
0
0

Hi Shlomi,

Thanks for your prompt reply.

I've performed the setps as you mentioned and observed following.

- Firefox version is 37.0.2

- Manually navigate the Salesforce application on Firefox 37.0.2 and found error message as below:

Sorry to Interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] UnknownError

Hence this means, our Salesforce application do not support on Firefox 37.0.2

 

So, Now I've started recording using IE, but observed an issue with the TruClient. The following information displayed on the TruClient for IE Browser tab:

Stronger security is required.

To access this website, enable TLS 1.1 and TLS 1.2.

Click the  gear icon or the  Tools button near the top-right corner of this window and select "Internet options".

Click the "Advanced" tab. Scroll down the list and select "Use TLS 1.0", "Use TLS 1.1", and "Use TLS 1.2".

For additional security, uncheck "Use SSL 2.0" and "Use SSL 3.0". When complete, the window should resemble the following:

 

I've performed the steps as suggested above, but it didn't work

Appreciate if you provide the solution for this issue as well.

 

Thanks in advance

Shiv

Re: Recording issue observed with VUGen TruClient (12.50) while login to Salesforce application

$
0
0

Hi,

I know about other customers who used TruClient Firefox to test Salesforce application using 12.02, hence 12.50 should work as well. I am not sure what is your implementation but Salesforce supports Firefox 37.0.1

In order to configure TruClient IE you need to open General Settings and select the right TLS settings in the Browser Settings tab. The changes you did in Microsoft IE do not apply on TruClient IE.

Regards,

Shlomi

Re: How to correlate Browser (client) side cookies in LoadRunner

$
0
0

I had a similar query; am trying to get parts fo the session cookie from the request body but loadrunner is not able to capture that using corelation functions. How can this be captured? I have to pass this value in the header of another request to get authorization to the weblogic servers. Its working via SOAP UI when I just copied and pasted the entire content of the cookie from the browser. I can see the valuse when I enable advanced trace , but how to get them?

Re: How to correlate Browser (client) side cookies in LoadRunner

$
0
0

Oops! ignore my query!  I am actaully passing those in my scripts itself---they are harcoded values!!!

Re: Unable to connect LG from controller with windows platform

$
0
0

Hi, May I know what's the LR/LG Version you are using?

Re: How to run a browser with an optional parameter (for Virtual User Generator & Controller)?

$
0
0

Hello, 

Do you mean When recording a browser, start it with certain command line or run a browser with an optional parameter at replay time? 

And which protocol are you using? 

Regards

Bingle(LoadRunner R&D)


Re: Setting Exceptions in Run time settings

Re: Think Time is not recording VUGen 11.52

$
0
0

Hello

Is the "Event" count on Recording Tool Bar also hold when you waiting on certain page? 

Regards,

Bingle

Re: UserID is not captured in the recorded script, then how to deal with the sessionID

$
0
0

Hello, 

Do you mean there is a redirection (301,302, 303) from server? 

then you can use 

"IgnoreRedirections=Yes", and

"Scope=Headers",

In you web_reg_save_param... function to get the redirection URL from server response.

Refer to Help->Function Reference for more details about the API.

Regards,

Bingle(LoadRunner R&D) 

Re: Unable to Solve Load Runner Error code 32999 - Invalid Schema

$
0
0

Hello,

  • To upload files here, you can zip them and change the suffix to jpg, then it’s OK.
  • I mean other script lines may “Overwrite” the parameter. For example, there is:

lr_save_string(“URL”, “same new value”) or web_reg_save_param(“URL”, “LB=…) or web_save_html_param_ex(  in your script.

there won’t be warnings for saving values to an existing parameter, I think you have to check this condition.

  • In controller, select the LG in “Load Generators” window, connect it and select “Details…”, then you will be able to see the "Temporary directory" of LG. go to the Temporary directory on LG, then run the scenario, you’ll see many new folders created, each folder represent a vuser, then you’ll able to find the deployed data there. But I think the possibility of “deploy” error is very rare, if you’re sure there is no “Overwrite”, I think you can turn on the RTS->Log->Extended Log->Parameter substitution and Advanced trace.  Then in controller, check "Results->Results Settings..." to find the result directory. then find the error Vuser logs at the "log" folder at result directory on controller.  I’m OK to have a check of the log if you posted it. 

Regard,

Bingle(LoadRunner R&D)

Re: Recording issue observed with VUGen TruClient (12.50) while login to Salesforce application

$
0
0

Hi Shlomi,

Thanks for providing the additional information for TruClient IE setup.

I've tried all the options (SSL3.0, TLS 1.0, TLS 1.1, TLS 1.2) seperately in TruClient General Settings <Browser Settings>, but getting the same message as below for each settings.

Stronger security is required.

To access this website, enable TLS 1.1 and TLS 1.2.

Click the  gear icon or the  Tools button near the top-right corner of this window and select "Internet options".

Click the "Advanced" tab. Scroll down the list and select "Use TLS 1.0", "Use TLS 1.1", and "Use TLS 1.2".

For additional security, uncheck "Use SSL 2.0" and "Use SSL 3.0". When complete, the window should resemble the following:

 

Please suggest other options for the resolution.

Thanks,

Shiv

Viewing all 12134 articles
Browse latest View live


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