LoadRunner Lists

Re: Dynamic Value in Response Header and Need to corelate

GoogleGroups lr-loadrunner - Sat, 07/02/2016 - 16:08
Go to Recording Options / HTTP properties / Advanced / Headers and add 'x-csrf-token' or select 'Record header not in list'. Then record or regenerate the script. Note: the header name (in web_add_header) is without the colon (:) or space. The right boundary in web_reg_save_param should be \r\n
Categories: LoadRunner Lists

Re: Max no of iterations for vugrn 12 trial version

GoogleGroups lr-loadrunner - Sat, 07/02/2016 - 16:08
Turning off the debugger will also help, see: https://groups.google.com/d/msg/lr-loadrunner/Cxyjcf1CIWA/a9NyP7GfaT4J But just to generate a large text (XML) file it is probably easier/faster to use Perl instead (installed as part of Vugen). André On Wednesday, 29 June 2016 16:35:56 UTC+2, James
Categories: LoadRunner Lists

Random Ordinal with dynamic count of object captured using Descriptor

Stackoverflow LoadRunner - Thu, 06/30/2016 - 11:56

I've managed to capture Object(s) that I want by using Descriptor but I want to randomly click a button from the captured object.

is there a way to get how many object I got from the Descriptor so that I can use it to manipulate it on the Object Ordinal? thanks!

Categories: LoadRunner Lists

web_custom_request in Loadrunner with GET method

Stackoverflow LoadRunner - Thu, 06/30/2016 - 10:08

I Have a REST service which is of GET Method whose request is passed through URL. Manually when I try in Rest CLient i'm getting the valid response as shown below pic http://i.stack.imgur.com/cJkJS.png :-

URL passed:-

http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={"requestContextBean":{"requestTransactionID":"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19","flowSeqNum":"567","globalContextParameters":["globalContext1","globalContext2"],"contextFrames":[{"name":"cfb1","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null},{"name":"cfb2","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null}]},"propId":421,"businessDate":"2016-06-30","metricName":["ALL"],"urgentlyWaitingTimeConfig":30}

But same thing when i try in LR using web_custom_request, i receive Internal server error 500.

Action() { web_custom_request("web_custom_request", "URL=http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={\"requestContextBean\":{\"requestTransactionID\":\"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19\",\"flowSeqNum\":\"567\",\"globalContextParameters\":[\"globalContext1\",\"globalContext2\"],\"contextFrames\":[{\"name\":\"cfb1\",\"type\":\"mci request\",\"serviceInterface\":\"getResIdsByMetricName\",\"operation\":\"getResIdsByMetricName\",\"localContextParameters\":[],\"ipaddress\":null},{\"name\":\"cfb2\",\"type\":\"mci request\",\"serviceInterface\":\"getResIdsByMetricName\",\"operation\":\"getResIdsByMetricName\",\"localContextParameters\":[],\"ipaddress\":null}]},\"propId\":421,\"businessDate\":\"2016-06-30\",\"metricName\":[\"ALL\"],\"urgentlyWaitingTimeConfig\":30}", "Method=GET", "TargetFrame=", "RecContentType=application/x-www-form-urlencoded", "Resource=0", "Referer=", "Mode=HTTP", LAST); return 0; }

Response in LR:-

Action.c(3): HTTP/1.1 500 Internal Server Error\r\n Action.c(3): X-Backside-Transport: FAIL FAIL,FAIL FAIL\r\n Action.c(3): Connection: Keep-Alive\r\n Action.c(3): Transfer-Encoding: chunked\r\n Action.c(3): Content-Type: text/xml\r\n Action.c(3): Date: Thu, 30 Jun 2016 13:28:27 GMT\r\n Action.c(3): X-Client-IP: 10.132.132.6\r\n Action.c(3): X-Global-Transaction-ID: 12678193\r\n Action.c(3): \r\n Action.c(3): t=411ms: 4-byte chunked response overhead for "http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={"requestContextBean":{"requestTransactionID":"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19","flowSeqNum":"567","globalContextParameters":["globalContext1","globalContext2"],"contextFrames":[{"name":"cfb1","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null},{"name":"cfb2","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null}]},"propId":421,"businessDate":"2016-06-30","metricName":["ALL"],"urgentlyWaitingTimeConfig":30}" (RelFrameId=1, Internal ID=1) Action.c(3): fe\r\n Action.c(3): t=411ms: 7-byte chunked response overhead for "http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={"requestContextBean":{"requestTransactionID":"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19","flowSeqNum":"567","globalContextParameters":["globalContext1","globalContext2"],"contextFrames":[{"name":"cfb1","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null},{"name":"cfb2","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null}]},"propId":421,"businessDate":"2016-06-30","metricName":["ALL"],"urgentlyWaitingTimeConfig":30}" (RelFrameId=1, Internal ID=1) Action.c(3): \r\n Action.c(3): 0\r\n Action.c(3): \r\n Action.c(3): t=416ms: 254-byte chunked response body for "http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={"requestContextBean":{"requestTransactionID":"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19","flowSeqNum":"567","globalContextParameters":["globalContext1","globalContext2"],"contextFrames":[{"name":"cfb1","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null},{"name":"cfb2","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null}]},"propId":421,"businessDate":"2016-06-30","metricName":["ALL"],"urgentlyWaitingTimeConfig":30}" (RelFrameId=1, Internal ID=1) Action.c(3): <?xml version="1.0" encoding="UTF-8"?>\n Action.c(3): <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><env:Fault>< Action.c(3): faultcode>env:Server</faultcode><faultstring>Internal Error (from server)</faultstring></e Action.c(3): nv:Fault></env:Body></env:Envelope> Action.c(3): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={"requestContextBean":{"requestTransactionID":"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19","flowSeqNum":"567","globalContextParameters":["globalContext1","globalContext2"],"contextFrames":[{"name":"cfb1","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null},{"name":"cfb2","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null}]},"propId":421,"businessDate":"2016-06-30","metricName":["ALL"],"urgentlyWaitingTimeConfig":30}" [MsgId: MERR-26612] Action.c(3): t=433ms: Closing connection [0] to stg-services.star after receiving status code 500 [MsgId: MMSG-26000] Action.c(3): t=433ms: Closed connection [0] to stg-services.star:9375 after completing 0 requests [MsgId: MMSG-26000] Action.c(3): t=433ms: Request done "http://stg-services.star:9375/MobileCheckin/rest/KeylessMetrics?serviceRequest={"requestContextBean":{"requestTransactionID":"fa4dfc4b2b5244153e965361fcc8369711b59dad111020fdceafad16aa19","flowSeqNum":"567","globalContextParameters":["globalContext1","globalContext2"],"contextFrames":[{"name":"cfb1","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null},{"name":"cfb2","type":"mci request","serviceInterface":"getResIdsByMetricName","operation":"getResIdsByMetricName","localContextParameters":[],"ipaddress":null}]},"propId":421,"businessDate":"2016-06-30","metricName":["ALL"],"urgentlyWaitingTimeConfig":30}" [MsgId: MMSG-26000] Action.c(3): web_custom_request("web_custom_request") highest severity level was "ERROR", 254 body bytes, 256 header bytes, 11 chunking overhead bytes [MsgId: MMSG-26387] Ending action Action. Ending iteration 1. Ending Vuser... Starting action vuser_end. Ending action vuser_end. Vuser Terminated.

Only change from Restclient and LR is in format of URL I'm passing. Could some one please help on why I'm recieving the internal server error in LR where as getting valid response in RESTclient.

Categories: LoadRunner Lists

How can I fetch a value from response of web_custom_request in LoadRunner

Stackoverflow LoadRunner - Tue, 06/28/2016 - 06:45

I have a LR script and I am using to make a call on a REST API to download a file. The file gets downloaded successfully but I also need the value of the file size downloaded for verification purpose. Here is what i see in loadrunner console.

Action.c(50): web_custom_request("GetImage") was successful, 2373709 body bytes, 528 header bytes, 99 chunking overhead bytes.

How can I get the value 2373709?? I tried using the below code but the size it returns is a little bit different from the above mentioned and is not solving the purpose.

HttpDownLoadSize=web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE); lr_output_message("File Size %i", HttpDownLoadSize);

Any help would be appreciated. Thanks in advance for you help.

Categories: LoadRunner Lists

How to do correlation for web_custom_request body

Stackoverflow LoadRunner - Mon, 06/27/2016 - 22:30

My web_custom_Request Body: "Body=AJAXREQUEST=_viewRoot&uniqueToken=1&primaryDependentListId=dataForm%3Awarehouse&dataForm%3Awarehouse=2010&dataForm%3AbussinessUnit=1&dependantId=&RegionID=2010&dataForm%3AfltrListFltrId%3AfieldName=&dataForm%3AfltrListFltrId%3AfilterName=FL_venkat&dataForm%3AfltrListFltrId%3Aowner=venkat&dataForm%3AfltrListFltrId%3AobjectType=FL_FILTER&dataForm%3AfltrListFltrId%3AfilterObjectType=&dataForm%3AfltrListFltrId%3Afield0value1=&dataForm%3AfltrListFltrId%3Afield0=FILTER.FILTER_NAME&" "dataForm%3AfltrListFltrId%3Afield0operator=&dataForm%3AfltrListFltrId%3Afield1value1=&dataForm%3AfltrListFltrId%3Afield1=FILTER.IS_DEFAULT&dataForm%3AfltrListFltrId%3Afield1operator=&dataForm%3AfltrListFltrId%3Afield2value1=&dataForm%3AfltrListFltrId%3Afield2=FILTER.IS_PRIVATE&dataForm%3AfltrListFltrId%3Afield2operator=&dataForm%3AfltrListFltrId%3Afield3value1=&dataForm%3AfltrListFltrId%3Afield3=FILTER.OWNER&dataForm%3AfltrListFltrId%3Afield3operator=&dataForm%3AfltrListFltrId%3Afield4value1=&" "dataForm%3AfltrListFltrId%3Afield4=FILTER.IS_DELETED&dataForm%3AfltrListFltrId%3Afield4operator=&dataForm%3AfltrListFltrId%3AfltrCondition=&dataForm%3AfltrListFltrId%3AfltrCrtSel=&stackId=Stack0&stackId=Stack0&clickedidhdn=101&ItemMaskComp_dependantId=&ItemMaskComp_returnId=&defaultBU=1&dataForm%3AItemLookup_selectOneMenu=-1&dataForm%3AisFind=&findHiddenParam=&dataForm%3AItemLookup_PrimaryAliasText=&dataForm%3AItemLookup_PrimaryAliasTextds=&dataForm%3AItemLookup_PrimaryXREF_Textds=&itemName=&" "dataForm%3AItem_LookUP_ItemObjectId=&dataForm%3AownerUserId1=&userSetName=&dataForm%3AtaskHdrIdOut=null&dataForm%3AisHeaderDetail=Header&dataForm%3AidInptPrintRendere=false&taskCriteriaName=&dataForm%3AtaskCreationCriteria1=&dataForm%3AallocInvnDtlId1=&pgBrkSetName=&docIdSetName=&taskIdSetName=&dataForm%3AdocIdValue=&dataForm%3AtaskIdValue1=&dataForm%3AviewTaskValue1=&dataForm%3AviewTaskTemp1=&dataForm%3AmenuIdforDisable=" "rm_PrintTaskLabel_167271477_menuItem%2CdataForm%3Arm_167271477_menuItemBtn%2Crm_PrintTaskLabel_167271477_rCMItem%2CrmButton_1PrintTaskLabel1_167271477&currentInvnNeedType=&dataForm%3AtranName=TaskListReport&targetLink=&dataForm%3AprimaryKeys=&dataForm%3Alview%3AfilterId%3AradioSelect=quick&dataForm%3Alview%3AfilterId%3A_fltrExpColTxt=DONE&dataForm%3Alview%3AfilterId%3A_filtrExpColState=collapsed&dataForm%3Alview%3AfilterId%3Afield1=TaskID&dataForm%3Alview%3AfilterId%3Afield1operator=%3D&" "dataForm%3Alview%3AfilterId%3AsubObject1=&dataForm%3Alview%3AfilterId%3Afield1value1ecId=&dataForm%3Alview%3AfilterId%3Afield1value1=2748136&dataForm%3Alview%3AfilterId%3Afield2=TaskType&dataForm%3Alview%3AfilterId%3Afield2operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject2=&dataForm%3Alview%3AfilterId%3Afield2value1=&dataForm%3Alview%3AfilterId%3Afield3=HeaderStatus&dataForm%3Alview%3AfilterId%3Afield3operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject3=&" "dataForm%3Alview%3AfilterId%3Afield3value1=&dataForm%3Alview%3AfilterId%3Afield6=Item&dataForm%3Alview%3AfilterId%3Afield6operator=DY&dataForm%3Alview%3AfilterId%3AsubObject6=&dataForm%3Alview%3AfilterId%3AitemLookUpId=&dataForm%3Alview%3AfilterId%3Afield8=CreateDateTime&dataForm%3Alview%3AfilterId%3Afield8operator=BT&dataForm%3Alview%3AfilterId%3AsubObject8=&dataForm%3Alview%3AfilterId%3Afield8value1=&dataForm%3Alview%3AfilterId%3Afield8value2=&dataForm%3Alview%3AfilterId%3Afield9=WMOrder&" "dataForm%3Alview%3AfilterId%3Afield9operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject9=&dataForm%3Alview%3AfilterId%3Afield9value1ecId=&dataForm%3Alview%3AfilterId%3Afield9value1=&dataForm%3Alview%3AfilterId%3Afield4=WaveNumber&dataForm%3Alview%3AfilterId%3Afield4operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject4=&dataForm%3Alview%3AfilterId%3Afield4value1=&dataForm%3Alview%3AfilterId%3Afield5=Priority&dataForm%3Alview%3AfilterId%3Afield5operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject5=" "&dataForm%3Alview%3AfilterId%3Afield5value1=&dataForm%3Alview%3AfilterId%3Afield20=TaskGenerationReferenceCode&dataForm%3Alview%3AfilterId%3Afield20operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject20=&dataForm%3Alview%3AfilterId%3Afield20value1=&dataForm%3Alview%3AfilterId%3Afield21=TaskGenerationReferenceNumber&dataForm%3Alview%3AfilterId%3Afield21operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject21=&dataForm%3Alview%3AfilterId%3Afield21value1ecId=&dataForm%3Alview%3AfilterId%3Afield21value1" "=&dataForm%3Alview%3AfilterId%3Afield22=TaskCompletionReferenceCode&dataForm%3Alview%3AfilterId%3Afield22operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject22=&dataForm%3Alview%3AfilterId%3Afield22value1=&dataForm%3Alview%3AfilterId%3Afield23=TaskCompletionReferenceNumber&dataForm%3Alview%3AfilterId%3Afield23operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject23=&dataForm%3Alview%3AfilterId%3Afield23value1ecId=&dataForm%3Alview%3AfilterId%3Afield23value1=&dataForm%3Alview%3AfilterId%3Afield28=" "DocumentID&dataForm%3Alview%3AfilterId%3Afield28operator=%3D&dataForm%3Alview%3AfilterId%3AsubObject28=&dataForm%3Alview%3AfilterId%3Afield28value1ecId=&dataForm%3Alview%3AfilterId%3Afield28value1=&dataForm%3Alview%3AfilterId%3AcurrentAppliedFilterId=-1&dataForm%3Alview%3AfilterId%3AfilterId_quickFilterGroupButton_mainButtonCategory=-1&dataForm%3Alview%3AfilterId%3AfilterId_quickFilterGroupButton_mainButtonIndex=-1&dataForm%3Alview%3AfilterId%3AfilterId_quickFilterGroupButton_changeDefault=false&" "dataForm%3Alview%3AfilterId%3AfilterId_savedFilterGroupButton_mainButtonCategory=-1&dataForm%3Alview%3AfilterId%3AfilterId_savedFilterGroupButton_mainButtonIndex=-1&dataForm%3Alview%3AfilterId%3AfilterId_savedFilterGroupButton_changeDefault=false&dataForm%3Alview%3AfilterId%3AdummyToGetPrefix=&dataForm%3Alview%3AfilterId%3Aowner=venkat&clickedid=101&fotype=WM_TASK_LIST_INQ&tranId=29&customParams%20=tranId%3D29%26fotype%3DWM_TASK_LIST_INQ%26fromLeftNav%3Dtrue%26clickedid%3D101%26stackId%3DStack0&" "queryPersistParameter=%26tranId%3D29%26fotype%3DWM_TASK_LIST_INQ%26clickedid%3D101%26stackId%3DStack0&dataForm%3Alview%3AfilterId%3AobjectType=WM_TASK_LIST_INQ&isJSF=true&filterScreenType=ON_SCREEN&dataForm%3Alview%3AdataTable%3Apager%3ApageInput=&dataForm%3Alview%3AdataTable%3ApagerBoxValue=&dataForm%3Alview%3AdataTable%3AisPaginationEvent=&dataForm%3Alview%3AdataTable%3ApagerAction=&dataForm%3Alview%3AdataTable_deleteHidden=&dataForm%3Alview%3AdataTable_selectedRows=%23%3A%23&" "dataForm%3Alview%3AdataTable_selectedRows=&dataForm%3Alview%3AdataTable%3AisSortButtonClick=taskHdr.taskId&dataForm%3Alview%3AdataTable%3AsortDir=asc&dataForm%3Alview%3AdataTable%3AcolCount=&dataForm%3Alview%3AdataTable%3AtableClicked=&dataForm%3Alview%3AdataTable%3AtableResized=false&dataForm%3Alview%3AdataTable%3A0%3APK_0=DUMMYROW&dataForm%3Alview%3AdataTable%3A0%3AstatCodeVal=&dataForm%3Alview%3AdataTable%3A0%3AstatCodeDescVal=&dataForm%3Alview%3AdataTable%3A0%3AtaskHeaderIdValue=&"

Categories: LoadRunner Lists

Re: How to kill session timeout for a browser in LoadRunner?

GoogleGroups lr-loadrunner - Mon, 06/27/2016 - 07:52
Place a protocol analyzer like wireshark on the wire while you close your browser session manually which cleans up the session as you desire. Look to your test code. If the transfer which takes place is not captured, then impose the request on your code. If nothing is transferred, then you
Categories: LoadRunner Lists

Virtual Table Server in LoadRunner

Stackoverflow LoadRunner - Fri, 06/24/2016 - 05:41

I am working on performance testing of an asynchronous application and is required to store the execution data. I came to know about the availability of Virtual Table Server component in LoadRunner. Could you please provide the below clarifications.

  1. What is the underlying storage structure of the VTS table (ie.. like proprietary files / DB etc)
  2. If the VTS uses DB can we modify the DB it can use in background.
  3. What is the performance of the DB if we keep on inserting the data into table. We have a plan of using the VTS where the script creates 6600 records per day. Please note that the script runs Monday through Saturday for monitoring performance of application.
  4. Is it possible to perform archive and purge? if so how to schedule such activity on VTS.
  5. What are the performance and capacity issue that need to be considered while implementing script using VTS.
Categories: LoadRunner Lists

Getting Error Loading javai.dll in VuGen of HP Load Runner

Stackoverflow LoadRunner - Fri, 06/24/2016 - 02:27

When I'm trying to compile a simple script in HP load runner's VuGen. It is failing to start the JVM with following error: Java VM Internal Error: Getting Error Loading javai.dll

I'm using

  • HP LoadRunner version 12.5
  • Java version: 1.8.0
  • JAVA_HOME and PATH variables are properly set - jvm found

I'm able to compile and run the normal java programs on the same machine.

What is this javai.dll? and Why is the JVM trying to load it when it is being triggered from HP Load Runner? There are not more options to configure in Load Runner to manage this.

Categories: LoadRunner Lists

How to handle the redirection the url in loadrunner fails on 302 redirect

Stackoverflow LoadRunner - Fri, 06/24/2016 - 00:57

Basically the script sends one request for images which works fine. The second request submits form data to the server, however I now get 302 redirect. From here the rest of the script fails.When I re-recorded the script, recording works fine. I compared the message sent when recorded, to the message sent by LR on play back and they look the same. Same headers, same message.Thanks in advance..Its very urgent.i have tried "IGNORE REDIRECTIONS=YES" i got a error Invalid value for the "IgnoreRedirections" argument What have I missed?? What should I try???

Categories: LoadRunner Lists

Regular Expression for last few characters which are changing in every run

Stackoverflow LoadRunner - Thu, 06/23/2016 - 06:32

I have a link like this :

http://URL:Port/bin/page1/spage1/content/sspage3/new/reallynew/2016/06/22/new-090132

The Portion after "/reallynew/" and /2016/, keeps changing at every run.

Is there a way via Regular Expression that , my scripts should work, no matter whatever it is after "reallynew" and "2016".

Thanks appreciate your help.

Categories: LoadRunner Lists

Use Load runner web_reg_save_param_regexp save the number after tvNode_R- from a block of html code

Stackoverflow LoadRunner - Tue, 06/21/2016 - 17:50

I use the regular expression attached but it works without adding the highlighted "ORG_40365", once I added "ORG_40365" it does not work. However, I need to specify the occurrence related to specific node and need to add "ORG_40365" at the end. Otherwise will return other value unexpected. Please click here to see the web_reg_save_param_regexp used

I cannot copy the code here as it does not allow me to save with error.

I have the above string and want to save 9704 after tvNode_R-. However, the regular expression does not work.

Any help would be greatly appreciated!

Categories: LoadRunner Lists

Cross Vuser Transactions in Loadrunner

Stackoverflow LoadRunner - Tue, 06/21/2016 - 00:56

I am currently developing loadrunner scripts for performance testing of an application which processes in asynchronous mode. The application, which I am doing performance testing accepts input files through SFTP and send processed output on an output location through SFTP.

In order to build script to measure performance of the application, I am planning to use two Vugen Scripts, one for submitting the input file and the second one for receiving the output file. To measure the time duration between input and output, I wanted to user Cross Vugen Transaction.

I have gone through the documentation in user guide but that is too little for me to understand and implement. Could you please provide me with a sample script or more detailed steps on how to implement, execute and view Cross Vugen Transactions.

Please note that I am beginner in vugen scripts and any help in this regard would be much appreciated.

Categories: LoadRunner Lists

Live Streaming in LoadRunner

Stackoverflow LoadRunner - Mon, 06/20/2016 - 08:50

web_stream_play function in LoadRunner takes default keep alive timeout of 60 seconds even if the keep alive timeout is set to 120 seconds in Run Time Settings. Any idea on this? How can this be resolved?

Categories: LoadRunner Lists

Trying from past 4 days not able to fix the issue

Stackoverflow LoadRunner - Mon, 06/20/2016 - 08:10

Iam giving the excat LB values and RB values..But still iam facing an issue..Can anyone plz help me in this.Thanks in advanceError -26377: No match found for the requested.parameter "ViewState ". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 10000000 bytes, use web_set_max_html_param_len to increase the parameter size[MsgId: MERR-26377] Action.c(28): Notify: Saving Parameter "ViewState _count = 0".

Categories: LoadRunner Lists

How can i substitute variables inside an array in the WebSocketBuffer.h file of loadrunner

Stackoverflow LoadRunner - Sat, 06/18/2016 - 01:56

I have captured a loadrunner script using Web-Http protocol. The website uses websocket internally. So I have the WebsocketCB and WebSocketBuffer files created. There is a WebSocketSend array where one of the values within the array needs to be modified before sending.

char WebSocketSend0[] = "Data: dynamicvalue";

I am able to save the dynamic values from another packet to a variable. But i am not able to substitute it in the above array. I used the following convention for a "test" variable

char WebSocketSend0[] = "Data: lr_eval_string("{test}")";

But it threw up lots of compilation errors. Is there anyway i can make the substitution , otherwise i have to write lots of code to modify the array.

Categories: LoadRunner Lists

Correlating multiple dynamic values

Stackoverflow LoadRunner - Thu, 06/16/2016 - 10:56

How can I get the value of important id and ValueType?

I have tried using web_save_param_regexp (but unfortunately I don't fully understand how the function works).

I have also tried using web_save_param (with the help of offset and length). unfortunately once again I cannot get the accurate value some values change in length specially when the total amount values dynamically changes per run.

<important id=\"insertsomevalueshere\" record=\"1\" nucTotal=\"NUC609.40\"><total amount=\"68.75\" currency=\"USD\"/><total amount=\"609.40\" currency=\"USD\"/><out avgsomecost=\"540.65\" ValueType=\"insertsomevalueshere\" containsawesomeness=\"1\" Score=\"-97961\" somedatatype=\"1\" typeofData=\"VAL\" web=\"1\">
Categories: LoadRunner Lists

HP Virtual User Generator 11 - How to log a different user for each test script action

Stackoverflow LoadRunner - Wed, 06/15/2016 - 10:53

Hopefully this is a simple one :) I am new to VuGen and trying to figure out the following...

I understand that to log in as a specic user you use the following command.

web_set_user();

For each action within my script I would like to use a different user. For some reason, although I am not getting any errors, when the second action runs the user does not change. What am I missing here ?

Note: at the end of each action I am using the following code:

web_browser("Close", "Snapshot=t001.inf", DESCRIPTION, ACTION, "UserAction=Close", LAST);

Thanks

Categories: LoadRunner Lists

HP Loadrunner SSL protocol error

Stackoverflow LoadRunner - Tue, 06/14/2016 - 11:48

I am relatively new to working with SSL certificates in a loadrunner script. Can someone provide the steps involved in adding a .PEM file to the loadrunner script in order to avoid SSL protocol error when replaying. Appreciate your help.

Categories: LoadRunner Lists

SItescope monitor error in LoadRunner Controller

Stackoverflow LoadRunner - Tue, 06/07/2016 - 05:02

In Load Controller, I'v configured Sitescope to supply metrics from some servers during load testing. All worked fine until when I change the requested metrics. I now get this error : "Monitor name :SiteScope. Parsing error. Details: host localhost, port 8888, line: 11. Reason: End tag 'HEAD' does not match the start tag 'META'." No matter what I try, and I'v tried completely removing Sitescope from the affected scenario and reinstating it, rebooting the Sitescope server and then reinstating it in the scenario, changing the SSM file (I created to hold required metric names), even creating a scenario from scratch and adding selected metrics, I cant seem to get Sitescope to work at all now. Both Controller and Sitescope sit on a VM hosting Windows Server 2012 R2, 4 cores with 8gb memory. SSH is in place on all target servers and as I said, it all worked swimmingly well until you change the selected metric in Monitor Pane in controller.

Categories: LoadRunner Lists
Syndicate content