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

Does Truclient has vuser_init function and will execute the cutomer's logic in it?

$
0
0

I have a Truclient project and need some logic pre-executed for each user for one time.

*For total users for one time is preferred(like a global function).

 

So, does Truclient has vuser_init and can do such initial for each user?

 

 


Internal Error - ptVUserVars->_hDfePE is unexpectedly NOT NULL

$
0
0

I've just recorded a Web-HTTP/HTML script in URL mode (LoadRunner 11.52 build 4391).

 

It automatically adds web_concurrent_start(NULL); and web_concurrent_end(NULL); calls.

 

But it seems that everytime that a web_url or any other "web_" call is outside a concurrent "section" it fails to replay with this error:

 

Fatal Error -26499: Internal Error - ptVUserVars->_hDfePE is unexpectedly NOT NULL after xfeLrwSrvNetTaskItemPrimaryCreate. [MsgId: MERR-26499]

 

I'm new to LoadRunner, so I'm not sure if I did something wrong or if this is intended by design. But if so, then the recorder should not create such situations. Also, this error message could be a lot clearer, I found it tough to figure this out.

 

LoadRunner Controller 11.50 J2EE/.NET Diagnostics Addin

$
0
0

Hi!

 

I have a DIagnostics 9.12 server running on 'System09P' and a user is on LR Controller running on 'System91P' and he's getting the error to 'Please install LoadRunner Controller 11.50 J2EE/.NET Diagnostics Addin'.

 

I'm a very new admin of this tool....Can you please help me find the addin and install it (in any particular directory if that's the case)?  

Loadrunner 11.52 works with IE11 ?

$
0
0

Hi All

 

I have IE11 installed in my machine . I have Loadrunner 11.52 in my machine . I have application Oracle CC&B version 2.3.1

 

when i try to record the application using LR it is not capturing the events but manually application is working.

 

1. Please let me know the LR version supporting IE versions

 

2. Is there any configuration changes I have to do

 

3. Oracle CC&B application has any one done Performance testing on this application and what is the approach they have followed

 

Answers are appricated Thanks in Advance

 

Thanks

Asif

 

 

.Net AUT exits while scripting - LR 11.51

$
0
0

Hi,

 

I am trying to record a .net application (Timeshareware) installed in the same machine as LR,  i have launched the 'protocol  advisor' , the AUT is launched succesfully, user credentials are accepted , but the application throws an error message "Critical Error" - Contact TSW support and  the AUT exits upon clicking  "OK" on the error message.

 

But when the application is launched manually with the same user creditials it works just fine.

 

So why is that the AUT is giving error while analysing with LR? same issue occurs when i try to record using .net or multiple protocols selected.

 

Help on this would be greatly appreciated.

 

Thanks,

Prakash

 

Error: CCI security error: You are running under secure mode

$
0
0

Hello HP,

 

 Controller& LG’s Version: 11.50 (SP2 installed)

Protocol: FLEX



(Controller & LG’s)OS : Windows server 2008 R2 standard

This is a roadblock for me.

 

I am getting the below error only for 2 LG's.

 

Error: CCI security error: You are running under secure mode and the function ci_load_dll is not allowed in this mode.

 

While I am running the test   with 4 LG's , I am getting the above error for 2 LG's only.

 

When I looked the error thrown LG"s running as Load Runner Process ,even though I changed it back to as Load Runner Agent Service, still shows Load Runner Agent process.

 

One of other Team used the LG's for to run the test which is Citrix application.

 

They have installed Citrix Agent on all LG's.

 

Thanks,

Rajani

web application **bleep** web service testing using load runner 8.0

$
0
0

I have developed an application of ATM , serviced by web service ATM written in a remote windows server 2008 connected from a wind xp PC.  I recorrded script in my PC as load runner is installed in PC and play back the script in the PC.

 

 

while load is tested by Vusers 50 it hardly executed with out concurrent refusal. while increase more than 50vusers it strikes error. 

errors- internal server error -500 and also some not found errors.

 

every time the remote server IIS7 is to do security permission, else error strikes.

 

is the way to test the application from a remote server 2008?

 

 

please give any right way to increase the vusers with out erros upto 500 and more.

 

subhashu

 

 

 

Performance Modeling

$
0
0

in EMEA we have received a request for performance testing and modeling from a client.

As far as I know performance modeling was done with the help of the Hyperformix. At least

some while ago utilizing input from LoadRunner or some other source.

Are you in the know whether that is still our preferred solution or what the suggested tool set is.

 

The task is basically to model an infrastructure so that key performance figures (CPU load, memory

consumption, NIC statistics) become predictable.

 

Any pointers appreciated


Gerald


Shared data file

$
0
0

I am not sure if I can share the same data file by three groups of users.

Each group using unique set of user ids and cannot be shared by another group. I can create three scripts. Each script will have its own set of user ids. The question is if I can use a single data file as a source and use “Unique” selection of next row so LR automatically assigns user ids accordingly to each group without creating redundant scripts.

Thank you for your help

Garry  

Getting problem in Oracle NCA protocol

$
0
0

Dear All,

I am facing a problem in oracle NCA protocol please suggest me

 

Issue:

In my application I have set of questions that need to be recorded,but that questions answer field is always changing.

 

example:

question 1-field1, field2,field3 ( only one field you have pass that answer rest all are disable)

question2-field1, field2,field3 ( only one field you have pass that answer rest all are disable)

question3-field1, field2,field3 ( only one field you have pass that answer rest all are disable)

like wise

 

the sequence of questions are changing in every iteration.

 

Could you guys please help me to resolve this issue.

 

Thanks

IVR Load Test

$
0
0

Can loadrunner do IVR loadtest, if it does, which protocol to use?

TruClient script calls function created using "group into new function" fails passing parameters

$
0
0

I have been given the task of learning LoadRunner (sink or swim).  We must use the Ajax TruClient protocol for our process.  After successfully developing a script, I sought to create functions for repeatable tasks, passing parameters to the functions.  So I highlighted the set of instructions that would become a function, right clicked on the the highlighted set, then selected the "Group into new function" menu item.  This created my function and allowed me to specify my parameters.  Then in my script I used the Toolbox's Function group's Call Function item to add a call to my created function, supplying values for my parameters.

 

When the script runs the values are not passed and the script fails.  I am having difficulty finding information to help me do this correctly.  All help is appreciated.

 

Problem with Web Services

$
0
0

Hello,

 

I have a Web Service script, that connects to a service called "obtenerRequerimiento", i configure the values and mark the option to save the returned value in parameter .

 

The script looks like this:

 

Action()
{
	web_service_call( "StepName=obtenerRequerimiento_101","SOAPMethod=requerimiento|RequerimientoPort|obtenerRequerimiento","SOAPHeader=""<SoapHeader xmlns:wsa=\"http://XXXXX/addressing\">""<wsse:Security xmlns:wsse=\"http://XXXXX.xsd\" xmlns:wsu=\"http://XXXXX.xsd\">""<wsse:UsernameToken wsu:Id=\"UsernameToken-1\">""<wsse:Username>USER</wsse:Username>""<wsse:Password Type=\"http://XXXXX.0#PasswordText\">PASS</wsse:Password>""<wsse:Nonce EncodingType=\"http://XXXXX/oasis-200401-wss-soap-message-security-1.0#Base64Binary\">XXXX</wsse:Nonce>""<wsu:Created>2014-03-06T21:40:27.887Z</wsu:Created>""</wsse:UsernameToken>""</wsse:Security>""<wsa:Action>http://URL/obtenerRequerimientoRequest</wsa:Action>""<wsa:MessageID>55566688877</wsa:MessageID>""</SoapHeader>","ResponseParam=response","Service=requerimiento","ExpectedResponse=SoapResult","Snapshot=t1395077211.inf",
		BEGIN_ARGUMENTS,"xml:SolicitudDeObtencionDeRequerimiento=""<SolicitudDeObtencionDeRequerimiento>""<partida>04</partida>""<capitulo>01</capitulo>""<areaTransaccional>013</areaTransaccional>""<ejercicio>2014</ejercicio>""<folio>1</folio>""</SolicitudDeObtencionDeRequerimiento>",
		END_ARGUMENTS,
		BEGIN_RESULT,"RespuestaDeObtencionDeRequerimiento=Param_RespuestaDeObtencionDeRequerimiento","RespuestaDeObtencionDeRequerimiento/requerimiento=Param_requerimiento","RespuestaDeObtencionDeRequerimiento/requerimiento/id=Param_id",

(...)
		END_RESULT,
		LAST);
return 0;
}

 

 

If i run the script i got this:

 

Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(3): Web service call "obtenerRequerimiento_101" started
Action.c(3): Error: InvokeMethod failed: java.lang.NullPointerException
Action.c(3): Error: InvokeMethod failure: AXIS engine threw an exception.
Action.c(3): Error: Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
Action.c(3): Error: Web service call "obtenerRequerimiento_101" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

 

 

The response in SoapUI is this one:

 

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
 <S:Body xmlns:S="http://www.w3.org/2003/05/soap-envelope">
   <ns:RespuestaDeObtencionDeRequerimiento xmlns:ns="http://URL/">
      <requerimiento>
    <ns1:id xmlns:ns1="http://URL/">0</ns1:id>
            <ns1:titulo xmlns:ns1="http://URL/">Sub 34  Deuda Flotante  2014 Secretaria General</ns1:titulo>
            <ns1:descripcion xmlns:ns1="http://URL/">Sub 34  Deuda Flotante  2014</ns1:descripcion>
            <ns1:informacionDeTransaccion xmlns:ns1="http://URL/">
               <ns1:informacionDeAjuste>
                  <ns2:folioTransaccionAjustada xmlns:ns2="http://URL/"/>
               </ns1:informacionDeAjuste>
               <ns1:informacionDeCreacion>
                  <ns1:moneda>NACIONAL</ns1:moneda>
                  <ns1:demanda>01</ns1:demanda>
                  <ns1:presupuesto>0201</ns1:presupuesto>
               </ns1:informacionDeCreacion>
               <ns1:tipoTransaccion>CREACION</ns1:tipoTransaccion>
            </ns1:informacionDeTransaccion>
            <ns1:agrupacionesDeImputacionesACatalogos xmlns:ns1="http://URL/">
               <ns1:agrupacion>
                  <ns1:idAgrupacionAjustada>630008</ns1:idAgrupacionAjustada>
                  <ns1:imputacionesACatalogosDeReagrupacion>
                    <ns1:imputacion>
                        <ns2:catalogo xmlns:ns2="http://URL/">programaPresupuestario</ns2:catalogo>
                        <ns2:elemento xmlns:ns2="http://URL/">01</ns2:elemento>
                     </ns1:imputacion>
                    <ns1:imputacion>
                        <ns2:catalogo xmlns:ns2="http://URL/">ProgramasInternos</ns2:catalogo>
                        <ns2:elemento xmlns:ns2="http://URL/">00</ns2:elemento>
                     </ns1:imputacion>
                     <ns1:imputacion>
                        <ns2:catalogo xmlns:ns2="http://URL/">UnidadesDemandantes</ns2:catalogo>
                        <ns2:elemento xmlns:ns2="http://URL/">0180</ns2:elemento>
                     </ns1:imputacion>
                  </ns1:imputacionesACatalogosDeReagrupacion>
                  <ns1:imputacionesAConceptosPresupuestarios>
                     <ns1:imputacion>
                       <ns1:idConcepto>3407</ns1:idConcepto>
                        <ns1:monto>2841092759</ns1:monto>
                        <ns1:saldo>0</ns1:saldo>
                        <ns1:distribucionesPorPeriodo>
                           <ns1:distribucion>
                              <ns1:idDistribucionAjustada>20327681</ns1:idDistribucionAjustada>
                              <ns1:periodo>01</ns1:periodo>
                              <ns1:montoDistribucion>236757730</ns1:montoDistribucion>

                           (...)

                           </ns1:distribucion>
                        </ns1:distribucionesPorPeriodo>
                     </ns1:imputacion>
                  </ns1:imputacionesAConceptosPresupuestarios>
               </ns1:agrupacion>
            </ns1:agrupacionesDeImputacionesACatalogos>
       </requerimiento>
      </ns:RespuestaDeObtencionDeRequerimiento>
   </S:Body>
</soap:Envelope>

 

So, the WSDL is OK. The problem is only in VUGEN, what can it be?

C Vuser - parsing failed even though systax is correct and script runs

$
0
0

I think I've stumbled on a bug in VuGen (Version 11.52 Build 4391).

 

I was writing C code and got a "Script parsing failed" even though my code was correct. I even ran it and it replayed successfully. But this parsing failed message stuck and it causes lots of "misbehaviors" on VuGen. So I started simplifying my script to nail it down. This is what I got:

 

Action()
{
    char *str = "ab";
    if (str[0] == 'b')
        str[1] = 'c';

    lr_output_message("%s", str);
    return 0;
}

 

What I noticed is that every time I have a criteria (on a while or if clause, for example) that checks for a single char. The parsing fails.

 

There some crazy conditions that make this bug go away. One I found is to add a double-quote in the next statement or even a comment. From example, in the code above, adding the following comment makes the parsing succeed:

    if (str[0] == 'b') //" 
        str[1] = 'c';

 

Now to my question... Can you reproduce this? Where do we report bugs to HP LoadRunner?

Ajax TruClient - Browser Support

$
0
0

Hi,

 

I need below information with respect to AJAX TruClient protocol.

1) Ajax Truclient support which Browser (other than IE, FF)

2) Version support (IE?, FF?)

 

Is it possible to use same script for different browser?

 

Regards,

Deepak


LoadRunner - Support Tip: LoadRunner 12 is released!!

$
0
0

In case you did not notice, LoadRunner 12 is released and available for download

 

http://www8.hp.com/us/en/software-solutions/loadrunner-load-testing/index.html

 

Notice the "trial"  limitation is given by the included license key, all limitations are related to the amount of vusers that can run in controller with this key,  there are no hidden features nor additional limitations on this installer media.

 

 

 

Eddy Segura
HP LR/PC Support

 

If you are customer you can try posting on our internal forums for more personalized support.

 

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

 

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

 

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

 

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution

Elapsed response time format

$
0
0

Hi all,

 

I need to change the elapsed time format in Analysis graphs, How could I do it?

 

Currently, the format is in hh:mm and I need to change it to mm:ss

 

Thanks!

LoadRunner - Support Tip: What’s new in version 12!

$
0
0

This document lists and explains the new features or LoadRunner version 12.

 

http://h20195.www2.hp.com/V2/GetDocument.aspx?docname=4AA5-0954ENW&cc=us&lc=en

 

 

Eddy Segura
HP LR/PC Support

 

If you are customer you can try posting on our internal forums for more personalized support.

 

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

 

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

 

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

 

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution

TruClient transactions slower than Web - HTTP/HTML?

$
0
0

We just started using the TruClient IE protocol using 11.52 and IE10, and are seeing much longer transaction times in the TruClient protocol than for the same transaction run in the Web - HTTP/HTML protocol.

 

For instance, I scripted up a simple Login script using both Web - HTTP/HTML and TruClient IE protocols.  The Login transaction occurs in about 2 seconds using the Web - HTTP/HTML protocol, but the same Login transaction takes over 6 seconds when run using the TruClient IE protocol.

 

Is there something we need to do to make the transactions run using TruClient run in the same time as in the Web-HTTP/HTML protocol?  We've been monitoring the Load Generator PCs, and those aren't being overloaded and creating a bottleneck (we're running only 5 VUsers in the comparison tests, and have 10 Load Generator PCs available).

 

At this point, I'm unable to trust that the transaction times for any TruClient load test are accurate, so I hope to find out why asap.

 

Thanks,

Matt

Popup banner appears before URL page loads

$
0
0

I specify a URL in the recording settings, but before it is launched, a disclaimer banner appears and my URL page never appears, thus I am unable to record.  Any help is appreciated.

Viewing all 3978 articles
Browse latest View live




Latest Images