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

Help needed on downloading Load Runner Vugen Trial version

$
0
0

Hi Folks,

 

I'm trying to download Load Runner Vugen Trial version from the site - http://www8.hp.com/us/en/software-solutions/loadrunner-load-testing/index.html

Prior to this download, I did create an account with HP Passport. However, when I click on "Download Now" button, it asks for sign in. When I give my HP Passport login details, it throws an error message saying - "Wrong Password or account is locked".

 

I'm wondering if the account that I created cannot be used here. Need some urgent help in getting this software download.

 

Thanks for all the help!

 

Best,

Vivek Lakshminarasimhan


PeopleSoft-SpreadSheet Upload

$
0
0

We are planning to do Performance testing for Journal Creation functionality in PeopleSoft application. In our project we are using excel sheet that has Macros written for uploading the Journal ID. It happens like this, we will enter the Journal details, subsequently have to click the ‘Upload Journal’ button in the excel sheet. The Journal ID will be created. We need to simulate this activity in Load runner.

We have used Load Runner for recording the Excel upload activity, but the tool was not able to capture the request and response that happens between excel and the server.

Has anybody used Load Runner for doing Spreadsheet upload?

ODBC Protocol - Throwing Invalid Cursor State error

$
0
0

Hi,

I have recorded ODBC script and modified the required changes for handling dynamic value (correlation). This has been done using lrd_save_col(cursor, col, row, optional, variable) and paramterisation is done to pass the runtime server date in the database table.

 

However, replaying the script after modification generate the error message in the output. Has anybody seen this issue and know the resolution.

 

vuser_init.c(6931): lrdb_db_option:  "SQLCloseCursor", return-code=-1, native-error-code=0, SQLState=24000, SQLError=[Microsoft][ODBC Driver 11 for SQL Server]Invalid cursor state

 

========================================================================================

Sample script captured from the baseline version. Error is generated on lrd_db_option(Csr875, OT_ODBC_CURSOR_CLOSE_30, 0, 1)

 

    lrd_open_cursor(&Csr875, Con3, 0);
    lrd_stmt(Csr875, "UPDATE vec_user SET LOGONTIME = ? WHERE (ID = ?)", -1, 0 /*Parse only*/, 0 /*None*/, 0);
    lrd_assign(&_1_D3766, "16:25:51", 0, 0, 0);  //16:25:51 {p_timeFormat}
    lrd_bind_placeholder(Csr875, "1", &_1_D3766, 
        LRD_BIND_FOR_INPUT_ONLY, 0);
    lrd_assign(&_2_D3767, "{ID}", 0, 0, 0);
    lrd_bind_placeholder(Csr875, "2", &_2_D3767, 
        LRD_BIND_FOR_INPUT_ONLY, 0);
    lrd_exec(Csr875, 0, 0, 0, 0, 0);
    lrd_db_option(Csr875, OT_ODBC_CURSOR_CLOSE_30, 0, 1);
    lrd_db_option(Csr875, OT_ODBC_CURSOR_UNBOUNDCOLS, 0, 0);
    lrd_db_option(Csr875, OT_ODBC_CURSOR_RESETPARAMS, 0, 0);
    lrd_close_cursor(&Csr875, 0);

Unable to record accessing MS Word with Load Runner.

$
0
0

Hi ,

 

My test scenario is when I choose the templet and click on Create Document link from my application, it should open MS Word document with pre defined templet text. When I am trying to record script for this functionality, it is not opening the MS Word document, can you please help me to solve this issue.  I am using HTTP/HTML protocol to record the script.

 

Thanks

 

Muralikrishna P 

Issues while recording hyperlinks in the web application

$
0
0
Hi All, I am unable to see any data after recording hyperlinks in the web application. Issue:While recording events are not capturing for hyperlinks Steps: 1.Login to the web application 2.Click on hyperlink,then PDF file will open After recording above steps and generating script,I am not seeing any data for step-2 I have tried in vugen 11.03 and 12 version but no luck. Can someone help me on this issue. Thanks, Sravan

For WebSockets LR is dropping some requests under load.

$
0
0

 

Hi,

 

I was testing with Websockets , under load some of the  transactions were failing , waiting for the  response from the server.

 

Using Wireshark, filtering for specific websocket requests, I could notice that the # of requests the LoadRunner logs show as sent are not really being sent , verified with  the  packets going from the  loadgenerator.

( If the log says it sent 14 requests , from the  wiresharkshows only 13 are sent, the  server logs also show only 13 requests received. )

 

The logs on the  receiving server match what was actually sent.

 

Is there any patch for this issue from LoadRunner ?

 

 

 

 

TruClient 12.02: transactionDuration returns negative value

$
0
0

Hi,

 

I am using TruClient 12.02.

I am having a problem with TC.transactionDuration().

 

What I do is this:

 

in "evaluate Javascript":

 

  var overallTransaction = "BUC02_Main";

  TC.setParam("pOverallTransaction", overallTransaction); // store transaction name in paramter pOverallTransaction

  TC.startTransaction(overallTransaction);

 

then some other steps... (takes a few seconds)

 

then I do this in an "evaluate Javascript":

window.alert("pOverallTransaction: " + TC.getParam("pOverallTransaction") + "\n" + "transactionDuration: " +TC.transactionDuration(TC.getParam("pOverallTransaction")) );

 

This returns an alert window with this info:

 

pOverallTransaction: BUC02_Main
transactionDuration: -16972

 

I would expect a (small) positive value for the transactionDuration and not a negative value.

 

 

Interestingly enough... when I save, close and reopen Vugen and run the script again, the result of the TC.transactionDuration() is now a positive number (like: 19.342)

 

When I run the script again, it returns that negative value. Mind you, i didn't finish the script (meaning: I did not run TC.endTransaction())

 

Any idea what is going on?

 

 

Raymond

Browser Message Saying Java not enabled

$
0
0

Hi,

 

I'm trying to record an application with vuGen via the web http/html protocol. The application is allows you to check out/checkin documents, export docs etc. However when I try and check out a document, I get an IE popup saying java is not supported (See attachment)

 

All operations work when loadrunner ISN'T trying to record.

 

E


Error -- memory violation : Exception ACCESS_VIOLATION received.

$
0
0
So I am having issues with getting C interpreter errors - memory violation when running the script on most of our load generators. We have a couple server 2003(8gb ram) load generators that the script runs fine on. However all of the windows 7 machines (4gb ram) will not run the script. My first inclination is that its just running out of memory, however when I watch the resources on the 2003 server when its running it increases only 200mb of memory when I run the script. What the script does: It reads a file into memory, that buffer is then assigned to a LR paramater, that parameter is then assigned to an attacment of a MTOM SOAP request. When using small files 20mb and below I can run it in VUgen, larger files such as 85mb, I get Memory Access Violation. I then have to run it through performance center, using the 2003 Server Load Generator, which it runs and executes fine. Since it runs on the machine with more memory I would have thought it was more due to memory available, yet when the script runs, not much is used on the 2003 server LG. Any insight on this would be great! Code: #define SEEK_SET 0 /* beginning of file. */ #define SEEK_CUR 1 /* current position. */ #define SEEK_END 2 /* end of file */ int requestPrepared = 0; char *filename2 = "test.gz"; setEXTERNALfile() { long infile; // file pointer char *buffer; // buffer to read file contents into //Old Code //char *filename = "C:\\EPD\\INDIVIDUAL\\XML\\EPDIndividual_1.xml"; // file to read. old code. //Old code char *filenumber[15]; int fileLen; // file size int newfileLen; // New file size int fileSizeSub; //linix file si int bytesRead; // bytes read from file char newfilename[40]; //contains file name path char *fileext = ".xml"; // ext of file to read typedef void *gzFile; gzFile file; int count; //char *filenumber2[40]; char filename[155]; char fileDirectory[155]; sprintf(fileDirectory, "%s", lr_eval_string("{pFileDirectory}")); lr_output_message("Current fileDirectory %s", lr_eval_string("{pFileDirectory}")); sprintf(filename, "%s", lr_eval_string("{pFileName}")); // 80 MB file sprintf(newfilename,"\\\\LOCATION\\%s\\%s%s", fileDirectory, filename, fileext); // open the file infile = fopen(newfilename, "rb"); if (!infile) { lr_error_message("Unable to open file %s", newfilename); return; } // get the file length fseek(infile, 0, SEEK_END); fileLen=ftell(infile); newfileLen=ftell(infile)+2; fseek(infile, 0, SEEK_SET); lr_log_message("File length is: %9d bytes.", fileLen); lr_save_int(newfileLen,"pNewFileSize"); lr_log_message("New File length is: %9d bytes.", newfileLen); // Allocate memory for buffer to read file buffer=(char *)malloc(fileLen+1); if (!buffer) { lr_error_message("Could not malloc %10d bytes", fileLen+1); fclose(infile); return; } // Read file contents into buffer bytesRead = fread(buffer, 1, fileLen, infile); if (bytesRead != fileLen) { lr_error_message("File length is %10d bytes but only read %10d bytes", fileLen, bytesRead); } else { lr_log_message("Successfully read %9d bytes from file: ", bytesRead); } fclose(infile); // Save the buffer to a loadrunner parameter lr_save_var( buffer, bytesRead, 0, "fileDataParameter"); free(buffer); //lr_log_message("File contents: %s", lr_eval_string("{fileDataParameter}"));

Next value with in the same iteration but in a new loop

$
0
0

I have a loop in my action transaction (see below).  I want to run that user 5 times before logout.  Then logout and start over again.   I want that user to use a new value every time.  I set my parm file to change after each iteration.  When I execute the test the data is the same during the loop of 5.  Loadrunner sees the loop as 1 iteration.  How can I force the new data within the loop?

 

 int x;
Action()
{

 

Select_URL();
 Login();

 

 for(x=0;x<5;x++)
 {


  ID_Search();

  Addr_search();

  ConfirmInfo();


 }

 Logoff();
 
 return 0;
}

 

Regards,

 

 

Boatnlarry

TrueClient and stdlib.h

$
0
0

Hello!

 

I try to add a standard C library stdlib.h to my TruClient project. I need it for a system function to launch the external application during test.

 

My globals.h file:

#include <TruClient.h>
#include <stdlib.h>

 

When I try to compiler this project I get the output errors:

...\vugen\scripts\tryc\tryc\\pre_cci.c: C:\\Program Files (x86)\\HP\\LoadRunner\\include/stddef.h:2: error: invalid use of `int'
...\vugen\scripts\tryc\tryc\\pre_cci.c: C:\\Program Files (x86)\\HP\\LoadRunner\\include/stddef.h:2: error: empty declaration

 

Is it possible to use TruClient like this?

Thank you!

Sign in issue whilst recording with Vugen

$
0
0

I'm currently running an application on some of my servers that I have configured with a reverse proxy.

Everything works well when I connect outside of Vugen (connecting normally in my browser).

 

When I go to record in Vugen I am able to load up the homepage to the application, I enter my user name and password and attempt to login. I know my login details are correct so that is not an issue. The issue is when I click login I am redirected back to the login page as though nothing had happened. I try to sign in and the same thing happens.

 

Anyone experiencing anything similar or know any solutions? I am connecting the HTTPS and I have SSL Auto-detection enabled. My suspicions are that it might be something to do with the port number that I am connecting with through Vugen, my current reverse proxy will redirect anything from port 80 onto port 443 so that it goes through the HTTPS. I have changed this redirect link to see if it was affecting my redirect in Vugen but alas it did not.

 

Regards,

 

Richard

Mutipart Binary Content Response not properly extracted

$
0
0

Hi Team,

 

I am facing the issue for correlation, tried many ways to extract full body response for multipart binary content. Substituted flow is not working since extracted value going partially.

 

My script flow is, we do Checkout (Get object) this will download some binary content, same content needs to check-in back (Save Object). Here my baseline script is working fine. Attached baseline for your quick reference. If able to capture full response than I can trim some prefix.  

 

I have captured the full response through below code. Most of the layout file size will be more than 10MB to 70MB.  Let us know anything need to teak the setting or change the scripts. Thanks of bunch J

 

web_set_max_html_param_len("999990032");
                                
    //File extraction
    /*web_reg_save_param("BinaryData", 
                       "LB/BIN=<SOAP-ENV:Body><ns1:GetObjectsResponse>",
                       "RB/BIN=",
                       "SEARCH=body",
                       LAST);*/
    
    web_reg_save_param("CheckoutResponse", "LB=", "RB=", "Search=Body", "RelFrameID=1", LAST);
    

How to calculate pacing time in Load runner?

$
0
0

Hi Team,

 

Please help me how to caluculate pacing time in load runner? I read some articles in google they mentioned about littles law but i didn't understand i wnat to know exactly how we can caluculate pacing time for execution?

 

Thanks,

VIjay...

web_set_sockets_option("SSL_VERSION", "TLS") required to run scripts

$
0
0

I'm trying to create a script and have ran into a problem. When I try to log into my application it simply redirects me to my log in page. I try to play this script back but I receive the error: 

 

vuser_init.c(12): Error -27778: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "la.ac.local" failed: [10054] Connection reset by peer [MsgId: MERR-27778]
vuser_init.c(12): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s) [MsgId: MWAR-26200]

 

When I place the command line web_set_sockets_option("SSL_VERSION", "TLS")  at the top of my script and run it the script is able to log in. It would be useful to know a way to have this command line at the top of my script before I start recording and not be overwritten once I start recording.

 

I have already tried recording options > mapping and filtering > options > SSL Version TLS   I have tried all of the TLS options and disabling auto SSL detection with Socket level and Wininet in many many different combinations but I still cannot log in or run the script doing so. It is only the command line that fixes my problem yet I cannot progress with my script without being logged into the application, which is only do-able by inserting the command line post recording.

 

Does anyone know a work around to prevent the manually inserted command line from being overwritten?


True Client stops working

$
0
0

Trying to open and play or record a new true client script from LoadRunner, and it is throwing a pop up stating TCS has stopped working.

The last time this happen a microsoft update patch KB3038314 had to be uninstalled on the controller and host agent machines.

This just started happening again for us, and I noticed a slew of windows updates on 08/01/2015.

Has any one else came across this issue or know if it was an update causing this.

I have an email out to some people at orasi and also opened a ticket, but have yet to receive a response.

 

rest services performance testing using loadrunner

$
0
0

Hi

 

I am using Vugen 12 , i need to test the Performance Testing using Rest service with the json scripting . i am able to do it but not able to capture the response. please help me on this

SAP - WEB_Framework

$
0
0

Could anyone please tell me is there any way we would able to develop the Framework for SAP- WEB. Thanks

Windows 10

$
0
0

Hi,

 

Will HP LoadRunner 12 support windows 10? Is there a roadmap available?

 

Kind regards,

René

Error for LR 12.02 community edition

$
0
0

I have installed HP LoadRunner 12.02 Community Edition ( T7177-15059.exe )  on my system.

I ran a full setup ,as on the setup wizard, individual components were not being installed.

Please let me know the procedure to install individual components(Vugen, Controller, LG, Agent) as I require these components to reside on separate machines.

 

 

Viewing all 3978 articles
Browse latest View live




Latest Images