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

Re: Not able to open VuGen

$
0
0

Hi

Can you try to open Vugen with Administrative privliges? i.e. right click and "Run As Administrator"?

Thanks,

Lior


Not able to access VuGen

$
0
0

I am new to Performance testing and Loadrunner. I have downloaded the software from HP products site and installed.

After installation when is try to open the VuGen, system throws "Critical error (ExceptionDialog)"  

Controller and Analysis are working fine.

PFA for reference. Someone please help me on this issue :(

Thanks in Advance.

Re: Not able to access VuGen

$
0
0

See my answer from your previous post.

Thanks,

Lior

Issue with Truclient 12.5 firefox/chrome OS popup window while uploading text file.

$
0
0
Re: Pop - up recognition in Ajax Tru Client Protocol

Hi,

Truclient 12.5  firefox/chrome  OS popup window while uploading text file

I am trying to upload .txt file using firefox (also tried chrome)  and popup window is opened( this window seems like from local system).Thing is , the script is able to enter the file path in the  browse field..Now, the popup remains open and its not clsoing as this is not recorded. 

However , the next step in the script is to click upload. As the pop window is opened , the application  browser window is not activated and the script is failing. My script passes only after closing the popup window (or click cancel button on pop window).  Can you please help me if tehre is anything code that closes OS opened window?

In simple , after browing file path from OS pop up window , the script should activate main application browser window  and continue by ignoring file uplaod pop window.

Re: Not able to open VuGen

$
0
0

Hi Lior,

Tried. Still facing the same issue.

Thanks,

Rupa

 

Firefox Issue for trueclient 12.53 web

$
0
0

Hi,

i am facing issue while running true client script in controller.

Load Runner 12.53 trial

Windows 7 SP1

Firefox 49

one scenarion with 20 users 15 min

when we start the execution for 20 users the transaction are passing as soon as the users are in running state but once all users are ramped up the transactions are stoped passing and we cant see anything until the users are ramped down and all the 20 users have same error message

"Error -205177:  IPC connection to browser process is lost    [MsgId: MERR-205177]"

can anybody help me in solving this issue?

thanks in advance

Re: Not able to open VuGen

$
0
0

Hi Rupa,

can you tell me which OS did you install it on?

additionally, can you try and run a "repair" on the installation?

Thanks,

Lior

Re: Not able to open VuGen


Re: Not able to open VuGen

$
0
0

Try the repair option.

If this is a VM, I would suggest to re-image the machine and try again, as something probably got corrupted in the installation.

Good Luck,

Lior

Parameterize XPath Object Identification

$
0
0

I am writing a script to select a checkbox in a row from a table, and either click yes or no. However, once I finish that checkbox the checkbox cannot be used again since it has already been given a yes or no. On the 2nd iteration, it will choose the 2nd checkbox, and give a yes or no. The 3rd, 4th, etc. 

I am trying to parameterize a number given from the XPath from the object identification. The Xpath given as, (for 3 rows):

//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[1]/td[1]/div/div[2]
//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[2]/td[1]/div/div[2]
//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[3]/td[1]/div/div[2]

As you see, the third digit (red) corresponds to the row that the checbox is in that the script will select. I need to parameterize that number so that the script will check a different row every iteration, and also work for multiple pages. I will have to go through over 3000 rows, so I will need a way to make the script work for every page. Also, the table has 25 rows per page, so once the 26th iteration comes, the parameter number will need to be back at 1 again, since the 1st row on the second page is still the 1st row, not the 26th. 

Is there a way to do this?

Support LoadRunner

$
0
0

Hello, I am new to LoadRunner. I will need to support it. Where should I start?  I would like to download a trial version to get acquainted with it first.  Thanks in advance for your insight and time.

De-allocate Memory for Citrix Function

$
0
0

Hello Everyone

I am working with Citrix protocol (HP LoadRunner). In my script i am using ctrx_get_window_name() function to retrieve window name. The function is used inside a for loop and might burn out my LG memory, i want to de-allocate the memory now. I used free() function to de-allocate the memory, it has no issues in vugen but when i replay the script in performance center it kills the mdrv process causing my users to fail, if comment the free() function script is passing without any issue in PC. Please let me know how to de-allocate memory for ctrx_get_window_name().

Re: Support LoadRunner

$
0
0

Hi Edward

For starters, download LoadRunner community edition from this link. It gives you 50 Vusers for free, for life, on the supported protocols (with the exception of COM/DCOM and GUI Vusers).

Once you installed LR on the correct OS (read the readme file beforeyou install), I recommend you run through the tutorial  and see how you handle it.

As for support - you are not entitled to formal support in the trial version, but we are here to try and help :-)

Good Luck,

Lior

 

Re: De-allocate Memory for Citrix Function

$
0
0

Hi

You can NEVER use free() on memory that is not allocated manually, like with alloc() or malloc(). It will give the symptoms described and is expected.

Normally the memory allocated by builtin functions of LoadRunner is handled automatically after each iteration, and do not to be considered if not very special cases. This could be very extence use or very big size.

Now I'm curious why it is only this function that you are worried about. Is it the text in the function reference?

Use ctrx_get_window_name to retrieve the title of the window currently in focus.

It is up to the user to allocate memory space for buffer before ctrx_get_window_name is invoked and to de-allocate the memory when no longer in use.

But this only mean that the memory not will be allocated for you. If you declare the buffer like this

char window_name[100];

Then you will not allocate more than 100 chars and wil use the same space the whole time. You will not allocate new memory in the loop and there is no need for de-allocating memory.

br /ola


Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it.

web_reg_find fails

$
0
0

I am unable to capture the count for a text string on an HTML page of a web based application.

When I open the application manually, I can see the text string but I cannot find the text string from View Source option of the browser.

I tried with both HTML mode and URL mode, it does't work. Looks like there are some async calls.

Please help me in handling this text check, as the result of this test check is used as entry criteria for other actions.


Re: Parameterize XPath Object Identification

$
0
0

Hi JPatton,

You can create a parameter of type "Iteration Number" in VuGen (see here).

Then you can set the Object ID Method to JavaScript and evaluate the XPATH in JS, using the parameter.

Use modulo to compensate for paging.

For example:

 

var iter=ArgsContext.TC.getParam("iteration");
var iterMod=((parseInt(iter) + 24) % 25) + 1; // 1-based modulo 25 var xpath="//form[@id="matchAndSettleForm"]/table/tbody/tr[4]/td/div/div[3]/table/tbody/tr[" + iterMod + "]/td[1]/div/div[2]"; evalXPath(xpath);

 

Edo

 

Unable to generate Code og recorded script

$
0
0

Hello,

I am new to load Runner, Just installed version 12.53 trial to evaluate.I am facing issue : I am able to record the script by VUGen but code is not generated,can you please help me ? 

 

I am using Windows 10, 64 bit.

tried with all browsers

Re: Error -26547: Authentication required, please use "web_set_user"

$
0
0

I have tried several workarounds listed below:

- Recorded script in web http/html and URL mode.

- Added web_Set_user(user id, pwd, host)

- Added wen_add_header

- Used web_Set_sockets option

- Tried replay in winlnet replay instead of sockets

- Tried playing around withthe RT settings

I was advised by the dev that they are using the same LDAP authentication. 

Unable to install LoadRunner 12.53 Patch 3

$
0
0

Hi,

I have installed 12.53 on my machine. After that I tried to install Patch 3 but unfortunately its giving error. Please find the screenshot attached.

Could you please help me how to proceed

 

 

 

Re: Unable to install LoadRunner 12.53 Patch 3

$
0
0

Hi

Please try to run the patch with Administrative privliges; i.e. rigt click and "Run As Administrator".

Let us know.

Thanks,

Lior

Viewing all 12134 articles
Browse latest View live


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