Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all 3978 articles
Browse latest View live

Loadrunner VUGen 12 -Running from Network - Error : System.IO.FileLoadException:

$
0
0

webservice scripts are running fine if we take local copy of script and run in LR VUGen 12.

 

getting below error only when we run script placed in shared network drive. 

Kindly provide solution for this issue.

 

we will be running tests in Performance center only, so will this error occur in PC also?

 

DetailedError:

System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.LoadFrom(String assemblyFile)

   at Mercury.LR.LrWsNetClient.FSProxyAssemblyProvider.GetProxyAssembly(String msWSDLUri, String msServiceName, String msPortName, WSDLRepository moWSDLRepository, AssemblyType eAssemblyType)

  at Mercury.LR.LrWsNetClient.WSDLRepository.GetProxyAssembly(String msWSDLUri, String msServiceName, String msPortName, AssemblyType eAssemblyType)

   at Mercury.LR.LrWsNetClient.ProxyCreator.PortInfo.LoadProxy()

   at Mercury.LR.LrWsNetClient.ProxyCreator.PortInfo..ctor(ServiceInfo service, String name)

   at Mercury.LR.LrWsNetClient.ProxyCreator.Init(String msWSDL, String msService, String msPort, INativeRepositoryApi moNativeRepository)

   at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)

 


Correlating Multiple dropdown fields - not dropdown values.

$
0
0

Hi there,

 

I'm having a difficulty in extracting values from multiple drop down lists.

 

Our site response is shown below:

 

<input name="dropDownGroupLabels:0" type="hidden" value="SIZE" autofillparam="ON"/><label>Step 1:</label> <select class="js-dropdown" name="dropDownGroupValues:0"><option value="">Select SIZE</option>

<option value='006' >6</option>

<option value='007' >7</option>

<option value='008' >8</option>

<option value='009' >9</option>

<option value='010' >10</option>

<option value='065' >6 1/2</option>

<option value='085' >8 1/2</option>

<option value='095' >9 1/2</option>

<option value='712' >7 1/2</option>

</select></div>

<div class="entry">

<input name="dropDownGroupLabels:0" type="hidden" value="WIDTH" autofillparam="ON"/><label>Step 2:</label> <select class="js-dropdown" name="dropDownGroupValues:0">

<option value="">Select WIDTH</option>

<option value='003' >MEDIUM</option>

</select></div>

<div class="entry">

<input name="dropDownGroupLabels:0" type="hidden" value="COLOR" autofillparam="ON"/><label>Step 3:</label> <select class="js-dropdown" name="dropDownGroupValues:0"><option value="">Select COLOR</option>

<option value='003' >BLACK</option>

<option value='200' >PENNYWISE</option>

</select></div>

 

From the above reponse, I would like to extract only the highlighted values into different variables for each choice (size, width, color).

 

Is there any best method to extract these?

Please help

 

 

 

Build custom DFE

$
0
0

I wish to build a custom DFE and as per LR doc there is a SDK available for the same. I am not able to find the SDK can someone share the link to same .

Script failing at message from webpage window using ajax truclinet IE

$
0
0

Hi All,

We are using Ajax truclient IE for 1 of our application. In 1 scenario we are creating an item,  adding it to cart, when adding it to cart we will get successfully added (message from webpage). Script is working fine in vugen but its failing in controller for alert window. I tried several method but none is working. Can you guys help me with any solution. We can use Truculient IE only. For clearity on issue, i have attched image also.

 

Note : This is alert wiondow. so there is no option for Object Identification.I attached sample images to understand the issue.

 

Please help me with solution.

 

 

LoadRunner Help is now Available Online!

$
0
0

Now you can access the HP LoadRunner Help online, any time, anywhere in the world!

Bookmark the page below for all of your LoadRunner documentation needs.

 

http://lrhelp.saas.hp.com/

Documentum D2 V4.2 with Ajax Truclient IE - Protocol Behavior

$
0
0

Hi Folks,

 

We are doing Performance Testing of Documentum D2 and we have developed the test scripts in Ajax Truclient IE of Loadrunner. We have done a couple of tests and observed that after 50mins or so the application is throwing the some 500 error popups and scripts are getting failed. After sometime without any manual modifications from dev end, this application is working well.

One of the observation we got from the tests is all login transactions are failing when the concurrent user load reached 110-120 more.

And the Dev team is confirming that it can sustain more than 300 concurrent user load.

I want any suggestions from anyone that is there any problem with the behavior of Truclient IE Protocol ? Or with Application ?

 

Attached 

About D2

 

ANY SUGGESTIONS are welcome.

load runner 11 on 100% cpu usage

$
0
0

Hi all, LoadRunner 11 is constantly working on 100% cpu usage with 4 and higher vu users, how to reduce CPU usage, i have windows 7 x64 and phenom2 965be x4. Thanks

Facing JVM.dll error using Java Record & Play Solution option in HP 12.02 load runner s/w


Problem in uploading Files to oracle /applet form

$
0
0

Hi, For the Upload scenarios in RMS(Oracle Forms)(Image Upload and Excel Upload), Load runner is failing to capture the browsed data (File Name and the Path) We are Using Oracle NCA +Web Protocol to record RMS forms through Load runner. Web Protocol is capturing the data till the launch of URL then Oracle NCA protocol captures all the data of Forms, but it is failing to capture the Browsed information for File since it is done on separate window not the applet. So the vugen script is not able to browse or upload any file to the application. Manually we added the Oracle NCA function (Edit function with file path) for File name and Description for the field <> and <> in our Vugen script and tried uploading the file (Without doing any Browse). Application is throwing Alert message internally for the above method when we execute the modified script – “Application failed to upload the file to the server”

Using mmdrv.exe, can the log be disabled

$
0
0

I am running a script from the command line using mmdrv.exe.  It works as intended but for each run it creates a log file.  I was wondering if anybody knew a switch to disable the logging.  I can't find any listing for switches for mmdrv.exe.

Vugen Script Working Even Though ID within script is Locked Out??

$
0
0

Hi Folks,

 

I have a Vugen script with an ID and Password embedded.

 

Today the application folks were telling me that this ID was locked out, yet the scripts using this ID show no failures. It appears the scripts were still able to use this ID and password successfully.

 

Anyone know of any reason this would happen?

 

Thank You All!!!!

 

 

Failed to end Transaction - calling EndTransaction failed

$
0
0

There appears to be a problem with VuGen / TruClient / Controller when we replay scripts where there is an object timeout.

 

I ran my script around 150 times without any problem with an object timeout of 170 seconds. All of my transactions start well and end well. In the transaction editor, the start point is always triggered by “Step started” because I want to be sure this event is called every time. I read in another post that a user had problems ending some transactions and he therefore changed the end point event to something that always happen, such as “After step endend”. He did that because he got tricked sometimes by the “Step network completed event”. Other users fixed their problems by matchting their transaction end point event with the step end event.

 

But in my case, I have a problem with the start transaction operation which is not called every time even though the trigger is “Step started”. I got this error when I wanted to simulate a real life situation using TruClient options. I only changed the Wait for Object timeout after my login from 170 seconds to 16 seconds because I knew this value would generate some good and bad logins as if the server was slow sometimes.

 

START TRANSACTION LOGIN

Navigate www.xyz.com

Wait for Object ABC for 16 seconds

END TRANSACTION LOGIN

 

Starting iteration 4.

Starting action Action.

Notify: Transaction "711_S01_Fcogr_000_Login" started.

t=00128946ms: ** 1: Navigate to "https://www.abc.change.in.log.com ** started    [MsgId: MMSG-205180]

t=00129492ms: ** 1: Navigate to "https://www.abc.change.in.log.com" ** successfully completed    [MsgId: MMSG-205180]

t=00129513ms: ** 2: Wait for File d'attente  textbox ** started    [MsgId: MMSG-205180]

t=00145762ms: Error -205177: ** 2: Wait for File d'attente  textbox ** failed - target object was not found.       Snapshot Info [MSH 4 0]    [MsgId: MERR-205177]

Ending action Action.

Notify: Transaction "711_S01_Fcogr_000_Login" ended with a "Fail" status (Duration: 16,9447).

Notify: Transaction "711_S01_Fcogr_000_Login" has 0 error message(s).

Ending iteration 4.

Waiting 2.000000 seconds for iteration pacing.

Starting iteration 5.

Starting action Action.

t=00149038ms: ** 1: Navigate to "https://www.abc.change.in.log.com" ** started    [MsgId: MMSG-205180]

t=00150918ms: ** 1: Navigate to "https://www.abc.change.in.log.com" ** successfully completed    [MsgId: MMSG-205180]

t=00150931ms: ** 2: Wait for File d'attente  textbox ** started    [MsgId: MMSG-205180]

t=00151191ms: ** 2: Wait for File d'attente  textbox ** successfully completed    [MsgId: MMSG-205180]

Error: Failed to end Transaction "711_S01_Fcogr_000_Login" (by name). Please check that you made a call to start transaction operation.

t=00151197ms: Internal problem -205177: In TransactionsAdapter::HandleMessage, calling EndTransaction failed    [MsgId: MWAR-205177]

Ending action Action.

Ending iteration 5.

Waiting 2.000000 seconds for iteration pacing.

Starting iteration 6.

Starting action Action.

Notify: Transaction "711_S01_Fcogr_000_Login" started.

t=00183765ms: ** 1: Navigate to "https://www.abc.change.in.log.com" ** started [MsgId: MMSG-205180]
t=00184327ms: ** 1: Navigate to "https://www.abc.change.in.log.com" ** successfully completed [MsgId: MMSG-205180]
t=00184348ms: ** 2: Wait for File d'attente textbox ** started [MsgId: MMSG-205180]
t=00199009ms: ** 2: Wait for File d'attente textbox ** successfully completed [MsgId: MMSG-205180]
Notify: Transaction "711_S01_Fcogr_000_Login" ended with a "Pass" status (Duration: 15,2500 Think Time: 0,0160 Wasted Time: 0,6070).

...

... see attached mdrv.log

 

As you can see, the start transaction is triggered at the beginning for iteration #4:

Notify: Transaction "711_S01_Fcogr_000_Login" started.

 

But when Step 2 fails due to my intentional low timeout…

Wait for File d'attente  textbox ** failed - target object was not found

 

…the start transaction is not called anymore in the next iteration #5. There is a missing line in the log between “Starting action Action” and “=00149038ms: ** 1: Navigate to…”. Then, LoadRunner fails to end the transaction:

Error: Failed to end Transaction "711_S01_Fcogr_000_Login" (by name). Please check that you made a call to start transaction operation.

t=00151197ms: Internal problem -205177: In TransactionsAdapter::HandleMessage, calling EndTransaction failed    [MsgId: MWAR-205177]

 

Furthermore, since there was no object timeout in iteration #5 (I believe there is a logic there...!), the start transaction for the login is called again in iteration #6:

Notify: Transaction "711_S01_Fcogr_000_Login" started.

 

Since I get this problem all time, I put all my timeouts to 170 seconds. I know the server is a lot faster than this and I was able to ran the script with no error for around 150 times. On the other hand, I am very scared that in a real life situation a server might get slow then all of my metrics won’t be good because this is not only a VuGen problem! When I run my script with the Controller instead, the passed / failed transactions numbers don’t add up anymore. It is therefore difficult to provide our clients with a good report / result / analysis.

 

Attachment: mdrv.log

LoadRunner 12.02

TruClient for Internet Explorer 11

Windows 7

UAC / DEP off.

McAfee ScriptScan exceptions for some LR .exe. No more TCS error.

Show run-time viewer during replay SilverLight 5 + VUGen 12

$
0
0

Hello,

I have an issue, I use VUgen 12 with Silverlight 5.0

I Create New Script and I select Silverlight, I Record my navigation and when launch Replay work well, but inside Run-Time Viewer I dont see my page (my web page with all the graphics, grids, buttons ) but I see a Soap Request.

I would like to see during the Replay my web page made in Silverlight.

Is it possible?

Can you give me any directions?

 

Thank's

Spyto.

 

 

P.S. This thread has been moved from Performance Center Support and News Forum to LoadRunner Support Forum. - Hp forum Moderator

Cannot open LRP file for type 'MQSeries-Client'

$
0
0

When trying to run the script from PC or directly from the Controller, the following error messages appear:

 

-84805 Error: The user files were not transferred to the local load generator

-81049 Error (-81049): LR_VUG: Cannot open LRP file for type 'MQSeries-Client'.

 

MQ Tester installer information only requests to install the tool into Vugen and the Load Generator. The Controller does not have the necessary lrp files to work with this protocol.

 

To workaround this problem, please copy the lrp files named "MQServer.lrp" and "MQClient.lrp" from VuGen or the Load Generator into the Controller folder <Controller Installation>\dat\protocols.

 

For any addtional information, you may refer to the following KB article:

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1221459

Error: "You do not have a license for this Vuser type" from LoadRunner Controller

$
0
0

The user receives the error, "You do not have a license for this Vuser type," from the Controller when running a script.

 

Check license and script type

 

This error message usually happens when you are running a script with a type that you are not licensed with. To identify which script type you are trying to run, click on the "Details..." button -> Refer to the 'Type' entry.

Then, check the type of license you have:

 

For LoadRunner 8.x and 9.x:
    1. Close the Controller
    2. Go to Start -> Programs -> LoadRunner -> LoadRunner
    3. Click on the "License" menu
    4. Click on "New License" and type in the new license key
    5. Click <OK>, and <Close> to close the window
    6. Bring up the Controller again.

 

If you do not have a license for the script type you are trying to run, please contact your HP Software sales representative for a new license.

 

For Error: "You do not have a license for this Vuser type" when running a WAP Vuser, You may refer to following link: https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM207233

 

For addtional information and details, You may refer to the following KB article link:

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM207158


How to bypass a popup window on Ajax truclient

$
0
0

Web application needs to have human interaction for click on "OK" option to display the pop up message.

 

To bypass the pop-up window in Truclient protocol, You may do the following:

 

On Developer mode of the Truclient:

 

1.   Open the toolbox, and select generic browser action:

 

2.   Click Step, and select Dialog – confirm on the action options (if the popup is not a confirmation pop up, you might select,   dialog – alert, or dialog prompt or dialog authenticate.

 

3.   The above step must be included after the popup shows up.

Not able to record SQL Developer Tool

$
0
0

Hi,

 

I have tried recording SQL Developer tool for connecting to oracle database.

 

Protocols Used:

1. Oracle 2 Tier

2.ODBC

 

Problem:Not able to record any events.

 

Also tried the protocol suggested by Protocol Advisor but those are also not working.

 

Could you Please suggest me the protocol I should use for recording SQL Developer.

 

Thanks,

Anuj

Web_reg_save_param dynamic ordinal value

$
0
0

Hi All,

 

We got a requirement to pass dynamic value in ordinal paramter.

 

for(i=0;i<4;i++)
    {
        web_reg_save_param("ProductID",
            "LB=productId=\"",
            "RB=\"",
            "Ord=2",
            LAST);

    }

 

In the above scenario is it possible to send the "i" value in the Ord attribute.

Please help me on this. Thanks in advance.

Capture/correlate JMSTimestamp from the jms queue response

$
0
0

Hi Experts,

 

we need to capture the "JMSTimestamp" from the  and response Header of a JMS Request (jms_receive_message_queue). Can someone please help

 

Thanks, Vinutha

Error:Failed to connect to server "xxxxxx.xxxx.xxxx.com:443": [10060] Connection timed out

$
0
0

I am trying Webservice testing and frequently getting

Error:Failed to connect to server "xxxxxx.xxxx.xxxx.com:443": [10060] Connection timed out

Error:SOAP request "SOAP Request" execution failed errors.

Viewing all 3978 articles
Browse latest View live




Latest Images