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

Correlation of icx_ticket value

$
0
0

 

nca_connect_server("141.146.168.142", "10513", "module=/tthyki/applmgr/11510/fnd/11.5.0/forms/US/FNDSCSGN fndnam=APPS config='tthyki' icx_ticket='.J8tLby3gHAuLsxwcNEFc9g..' resp='CSS/TKE^US^DEBRIEFING' secgrp='STANDARD' start_func='TKEU_TP_CUS_CD_14_ENTRY'::NLS_LANG='AMERICAN_AMERICA.UTF8' FORMS60_USER_DATE_FORMAT='DD-MON-RRRR' FORMS60_USER_DATETIME_FORMAT='DD-MON-RRRR HH24:MI:SS' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY' NLS_NUMERIC_CHARACTERS='.,' FORMS60_TZFILE='timezlrg.dat' FORMS60_DATETIME_SERVER_TZ='America/Chicago' FORMS60_DATETIME_LOCAL_TZ='America/Chicago'");


.4eciFsFx80iYX3gFrjziQA..
.L1TgLo98F8FNJhh5pM3Ung..
.J8tLby3gHAuLsxwcNEFc9g..


I recorded the script 3 times and noticed the value that was dynamic is the string between . and ..


Here is the correlation function that I am using:


web_set_max_html_param_len ("10000");

web_reg_save_param("icx_ticket", "LB=ticket='.", "RB=..'", LAST);


I keep getting the following error:

 

Action.c(135): Registering web_custom_request("fndutil.jar") was successful [MsgId: MMSG-26390]
Action.c(144): web_concurrent_end started [MsgId: MMSG-26355]
Action.c(144): Error -26377: No match found for the requested parameter "icx_ticket". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 10000 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(144): web_concurrent_end highest severity level was "ERROR", 454957 body bytes, 819 header bytes [MsgId: MMSG-26388]
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


Am I setting the boundaries correctly ?


LR 12.50 Ajax Truclient Dropdown Selection Issues

$
0
0

I upgraded to 12.50 as I there are some known issues in 12.02 and the support engineer strongly recommended it. Now, with 12.50 when I am replaying the existing scripts, at all the dropdown selection points, the script is either selecting a wrong dropdown or completely ignoring the dropdown and moving ahead without even giving an error. The script is failing at the submit step as the mandatory dropdowns are not selected.

Without any modifications, I replayed the same scripts in LR 12.02 in a different machine, it works absolutely fine for multiple iterations. The same scripts when replayed with 12.5 is showing a wierd behavior at all the dropdown selection points.

After some research, we understood that the dropdown step has alternate steps, which has selecting dropdown as text and ordinal value. When we record that particular dropdown step and replay it with ordinal it is working partially. With text, it is not working.

Please let us know if we have to do any changes ot patches installation to the LR file.

Appreciate a quick response.

 

Balaji

 

CSV File Upload fails in Vugen

$
0
0

Hi

As per my requirement, I need to upload a .csv file into the application. I am trying to simulate this using loadrunner. The issue I am encoutering is that my csv file is in the below format

Header - AA,BB,CC

Data-xyz,"yyx,zzy",xxz

On using the below statement to upload the file, I am getting an error ""line 2 contains 4 columns instead of 3"

web_submit_data("upload",
"Action=xxx/upload",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=xxx",
"Snapshot=t86.inf",
"Mode=HTML",
ITEMDATA,
"Name=utf8", "Value=✓", ENDITEM,
"Name=token", "Value={token_1}", ENDITEM,
"Name=upload_file", "Value={NewParam_5}", "File=yes", "ContentType=text/csv", ENDITEM,
"Name=Button1", "Value=Upload", ENDITEM,
LAST);

I tried updating the .prm file to a new delimiter pipe, | but still i get the error. 

[parameter:NewParam_5]
Delimiter="|"
ParamName="NewParam_5"
TableLocation="C:\temp"
ColumnName="Col 1"

I also notice that even though I set the delimiter to pipe, if I rightclick on the web_submit_data() and go to Parameter properties, i see a column delimiter option there as well and it is not set to pipe and is set to comma which indicates that this setting is taking higher precedence to the setting in .prm file.

Can someone please guide me the right way to set a new delimiter so that vugen recognizes and parses the csv file as I want it to.

Thanks for your help.

LR 12.02 installation error: i am getting error as "Some files could not be created"

$
0
0

Hi.. i am getting error as "Some files could not be created. please close all applications reboot windows and restart this installtion" while installing LR 12.02 community edition. I tried closing all applications, reboot and restarting the installation. But still the same issue.

Any solution/workaround please ??

Performance/Stress Testing DHCP Server using Loadrunner

$
0
0

Hello All,

Tyring to see if I can emulate the DHCP requests/Offer for hundred of devices via loadrunner (and measure each response times etc)...

Is there a prefered method to doing this? 

I currently have a linux sciprt that can send requests & get back offers, but its wroughly put together and I believe I woudl need the RTE protocol & a Linux server (as Load Generator) to ge this to work.

Any others, thoughts...?

Thanks,

Cliff

Load Test Rest Service with a JSON file

$
0
0

I have an application that is using rest service with a large JSON file.  Each customer is it's  own file so I need to submit 20,000 customers in a hour.  What is the best practice to handle this scenario.  I am not sure how parameterize the file (Customerinfo.json).  The JSON files are created separate from the load test but will be used as the data for the load test. The JSON file can range from 50 lines to 1200 lines depending on the size of the customer information.   i have tried to make the file into 1 row but LR has an issue doing it that way. The JSON data contains  Brackets, curly brackets, quotation marks, comas, colons, dashes, periods and text.  I am also worried the json files size maybe an issue, if each file is around 2KB i am looking at 40 MB just in data.  Any assistance is greatly appreciated.

Issues while recording using GWT DFE

$
0
0

Hello,

When I am recording a Ext GWT based application, I am not able to decode the complex web_custom_requests. I have used the latest .war file of the application. Since its an ext GWT application, I also included the servlet.jar file but it did not solve the issue. I tried using the JRE 1.6, replaced the vugen/jre folder with java/jre6 folder but unfortunately the code was not generated after the jre was replaced.

Extract of the sample custom request:

web_custom_request("webGui_8",
        "URL=https://aoccd01.xeop.de:9443/C7_GUI/webGui",
        "Method=POST",
        "Resource=0",
        "RecContentType=application/json",
        "Referer=https://aoccd01.xeop.de:9443/C7_GUI/clear-main.html",
        "Snapshot=t10.inf",
        "Mode=HTML",
        "EncType=text/x-gwt-rpc; charset=utf-8",
        "Body=7|0|8|https://aoccd01.xeop.de:9443/C7_GUI/ecGuiWeb/|5D4180BC80164883917E602C2096F4AC|de.eurex.webgui.client.remote.WebGuiGwtService|loadGui|java.lang.String/2004016611|clear|4064badb-11f9-4711-af7c-5b9a9ddb0b6b|clear.SectionList|1|2|3|4|3|5|5|5|6|7|8|",
        LAST);

Please help.

Unable to record Google Chrome or IE

$
0
0

Hi,

I am trying to record the REST calls made from Postman Chrome plugin. 

I am facing problem with recording Google chrome(Version 43.0.2357.81 m) . When i click record , no chrome browser is opened. But taskmanager shows chrome process. Even no events get recorded. Vugen(12.02 build 7330) is in hung state and i need to kill the chrome process to make it back. 

After reading another thread about 5 common problems , i tried to add in the file config/vugen.ini , below entry.

[NoTrap]
Application1=chrome.exe

Now chrome is opened but nothing get recorded. I tried with few options in recording > portmapping but no success.

Even IE 11 i couldnt . I try with web browser it hangs. I tried with windows application pointing to the 32bit IE 11 exe. This time its starts recording few event , but hang after this. I click continue with the record on the Warning pop up not nothing happens after this. I changed the DEP and disable IE addons.

Configuration.

===========

OS : windows 7 enterprise service pack 1

Vugen(12.02 build 7330)

IE 11 32 & 64 bit

Google chrome(Version 43.0.2357.81 m)

OUTPUT logs

==========

[API Trapper (39d4:3dcc)] Recording in 32-bit mode: C:\Program Files (x86)\Internet Explorer\iexplore.exe
[API Trapper (3508:3d84)] Recording in 64-bit mode: C:\Program Files\Internet Explorer\IEXPLORE.EXE
[Network Analyzer (3508:2120)] ------------------------------------------------------------------------------------------
[Network Analyzer (3508:2120)] Load Network Traffic Analyzers:
[Network Analyzer (3508:2120)] Analyzer Module: WPLUS (value=)
[Network Analyzer (3508:2120)] Analyzer Module: WebBase (value=GetHttpProtocolAnalyzer:api_http_filter_x64.dll)
[Network Analyzer (3508:2120)] + Network Analyzer: api_http_filter_x64.dll @ GetHttpProtocolAnalyzer Loaded!
[Network Analyzer (3508:2120)] + Interception Auditors: WinInetWplusInterceptionAudit:api_http_filter_x64.dll
[Network Analyzer (3508:2120)] Analyzer Module: QTWeb (value=GetWebSocketProtocolAnalyzer:WebSocketAnalyzer_x64.dll)
[Network Analyzer (3508:2120)] + Network Analyzer: WebSocketAnalyzer_x64.dll @ GetWebSocketProtocolAnalyzer Loaded!
[Network Analyzer (3508:2120)] Analyzer Module: local_server (value=)
[Network Analyzer (3508:2120)] ------------------------------------------------------------------------------------------
[Network Analyzer (3508:3848)] Address lookup for OHBOCXXG5063HPC = 10.80.94.94
[Network Analyzer (3508:2120)] Address lookup for OHBOCXXG5063HPC = 10.80.94.94
[Network Analyzer (3508:3cc8)] Address lookup for OHBOCXXG5063HPC = 10.80.94.94
[Network Analyzer (3508:2120)] Request Connection: Remote Server @ 156.77.110.16:80 (Service=) (Sid= 1) PROXIED!
[Network Analyzer (3508:3cc8)] Request Connection: Remote Server @ 156.77.110.16:80 (Service=) (Sid= 2) PROXIED!
[Net An. Error (3508: 7c0)] SSL_connect(ssl_id = 140060608 = 00000000085927C0) Failed, ctx = 00000000085FE8F0, err = "SSLv3 read server hello A", err code = 5
[Network Analyzer (3508: 7c0)] (Sid: 1) Negotiate Proxy -> Server SSL Handshake (ssl:TLSv1, ciphers:(NONE))
[Net An. Error (3508: 7c0)] (Sid: 1) Negotiate Client -> Proxy SSL Handshake Failed!!!
[Net An. Error (3508:37bc)] SSL_connect(ssl_id = 140059824 = 00000000085924B0) Failed, ctx = 00000000085FE8F0, err = "SSLv3 read server hello A", err code = 5
[Network Analyzer (3508:37bc)] (Sid: 2) Negotiate Proxy -> Server SSL Handshake (ssl:TLSv1, ciphers:(NONE))
VuGen has detected that the application has encountered the following error:

VuGen was unable to connect to the selected application to record the HTTP traffic

The possible reasons for this failure may be:
* Interference Internet Explorer add-ons.
* Windows Data Execution Prevention (DEP) feature is on.

In order to enable recording, we suggest:

Disable Add-Ons in Internet Explorer.
1. From the Internet Explorer menu, click Tools |Internet Options.
2. Click the Programs tab.
3. Click Manage add-ons.
4. Click the Add-on you wish to disable, then click theDisable radio button.
NOTE: This option will only be available when an Add-on is selected.
5. IE7 users also have the ability to delete the ActiveX control.
6. Follow the steps outlined above to select the ActiveX control.
7. Click the Delete button found under Delete ActiveX.
NOTE: This option will only be available when an ActiveX control is selected.
8. Not all Add-ons in the list are active. Toggle the Show drop-down to view add-ons currently loaded in Internet Explorer.
9. Click OK to exit the Manage Add-ons menu
10. Click OK to exit the Internet Options menu
11. If a necessary add-on has been mistakenly disabled, repeat steps 1-3 above, highlight the disabled add-on, then click the Enable radio button.
12. Close Internet Explorer and restart it for changes to take effect.

Turn on DEP for essential Windows programs and services only.
1. Open Control Panel.
2. Click System.
3. Click Advanced or Advanced System Settings tag.
4. Click Settings button under Performance.
5. Click Data Execution Prevention tab.
6. Select the first option (Turn on DEP for essential Windows programs and services only).


Click Continue to ignore this warning and continue recording.
Click Cancel Recording to cancel the recording.

Any help appreciated.

 

Thank you,

Jossy


Loadrunner script question

$
0
0

How to filter in load runner script.suppose I have 300 user,200 user are successful login . how i will see successful login user in load runner script.

Variable populated from a parameter (file)

$
0
0

Hi guys,

Tried different options, and did lots of research but with 0 results.

I'm trying to create a script that gets the parameter from a file (.csv comma separated), based on the first column has to select a specific action, then, for each action, has to take the paramenters from the previous said file and populate the variables.

I'm stuck at the beginning still, this is what it looks like:

Start()
{
    //string transtype[] = {Parm1};
    char transtype[10];
     // transtype = lr_eval_string("{Parm1}");
    lr_save_string(lr_eval_string("{Parm1}"),"transtype");
    TE_wait_sync();
    if (transtype == "TS01") {
        Trans01();
    } else if ("{transtype}" == "TO01"){
        Trans02();
    } else if ("{transtype}" == "SD01"){
        Trans03();
    } else if ("{transtype}" == "CP01"){
        Trans04();
    }return 0;
}

I tried with "char transtype[] = ("{Parm1}")" but doesn't work either, any help?

Thank you all

Application window is too small to determine if script is working properly

$
0
0

Created first script on TruClient but, the window that displays my application is too small for me to see the results. How do you resize this window 

I am probably missing something - I don't see normal windows screen sizing controls.

Thanks,

Bill

Loadrunner Compatability

$
0
0

Our Performace Center is version 12.21 which corresponds to Loadrunner 12.02. I downloaded the 12.50 community edition to generate and test scripts before I pushed them to our 12.02 corporate controllers and generators but received errors. I know one error is that chrome tru-client scripts are not supported in 12.02 so I was told to downgrade my 12.50 community edition dev server to 12.02 community edition but HP does not seem to offer archived downloads for this product. Is there a way for me to get the 12.02 community edition or is there a way for me to run 12.50 scripts on a 12.21 performance center as long as I don't use the chromium tru-client? 

How to submit request where request inside binary file

$
0
0

Hi,

I need to send a request that uses a binrary file attachment.

In postman, I simply enter the URL, and to make it work, in the Body tab, I select 'Choose File' and 'Binary' radio and browse to the binary file.  All works a treat.  However, not sure how I can do this in LoadRUnner?  Am thinking along the lines of a web_custom_request but not sure where even to start.

Many thanks,

J

Ajax TruClient - Browser Support for Application that only works in IE7 standards Document Mode

$
0
0

Hi,

I'm trying to load test an application that only supports IE7 standards Document mode.  Is there a way to get the Truclient to render pages correctly in this config?  I tried setting the Document mode to IE9 standards but the application renders blank pages.

Thanks

Vishal 

Text Variable populated from a Parameter file (.csv) NEED HELP

$
0
0

Please people, I do need help for this

Hello people!
I'm trying to write a script in LR that should, technically, pick up the data from a file (.csv comma separated), put the first column first row in a variable (it's a 4 characters text), then, based on an IF statement, should run the specific action (where it has to take all the other data from the row and put it in specific variables), then come back to the "start" script, take the second row of the first column, put the data in the variable and keep going until the datafile ends.

1st problem: the data file
I tried different formats, .csv comma separated looks like to be the only one accepted but, when gets the data, it takes the entire row with all the data in there, not only the first part.
I'm trying to figure it out using a separated file for each column, at least to make it work.

2nd problem: the text variable
I can't find a way to pass the parameter to a variable, "string" doesn't work, "char" is getting just the first character (in every possible way called), lr_save_string doesn't work at all.

3rd problem: the IF statement
Because of the two previous problems, I'm not able to write a proper IF statement that works...

Here is an example of what I'm trying to write (with the different ways I tried):

Start()
{
char temp[]="TO01";
lr_save_string("TO01","trans");

TE_wait_sync();
if ("{trans} == TS01") {
Trans01();
} else if ("{trans} == TO01") {
Trans02();
} else if ("{trans} == SD01"){
Trans03();
} else if ("{trans} == CP01"){
Trans04();
}return 0;

}
Start()
{
TE_wait_sync();
if (strcmp(lr_eval_string("{test}","TS01"))==0) {
Trans01();
} else if (strcmp(lr_eval_string("{test}","TO01"))==0) {
Trans02();
} else if (strcmp(lr_eval_string("{test}","SD01"))==0){
Trans03();
} else if (strcmp(lr_eval_string("{test}","CP01"))==0){
Trans04();
}return 0;

}
Start()
{
TE_wait_sync();
if (lr_eval_string("{test}" == "TS01") {
Trans01();
} else if (lr_eval_string("{test}" == "TO01") {
Trans02();
} else if (lr_eval_string("{test}" == "SD01"){
Trans03();
} else if (lr_eval_string("{test}" == "CP01"){
Trans04();
}return 0;

}

None of these ways works.
NB: "test" is the parameter that contains the table with the data.

Any help will be really appreciated!
Thank you all!


Error -27040: Data Format Extension: Extension:- java.lang.reflect.InvocationTargetException

$
0
0

Hi All,

Getting the below error while replaying the script in VUGEN with proper DFE chain.

Action.c(776): Error -27040: Data Format Extension: Extension: GWT - ERROR [GWT_DFE] - java.lang.reflect.InvocationTargetException
      [MsgId: MERR-27040]
Action.c(776): Warning -27040: Data Format Extension: Extension: GWT - Conversion of  buffer  failed. Fault(s):  DFE incorrect input data format .
Start dump of original buffer( maximum 200 bytes ) in hexadecimal and text formats:
3C 63 6F 6D 2E 68 70 2E 64 66 65 2E 47 57 54 5F
5F 52 65 71 75 65 73 74 3E 3C 6D 6F 64 75 6C 65
42 61 73 65 55 52 4C 3E 68 74 74 70 3A 2F 2F 71
61 6D 69 72 72 6F 72 2E 74 68 6F 6D 73 6F 6E 69
6E 6E 6F 76 61 74 69 6F 6E 2E 63 6F 6D 2F 69 6E
6E 6F 76 61 74 69 6F 6E 2D 34 2E 37 2F 63 6F 6D
2E 74 68 6F 6D 73 6F 6E 2E 53 68 65 6C 6C 2F 3C
2F 6D 6F 64 75 6C 65 42 61 73 65 55 52 4C 3E 3C
72 70 63 52 65 71 75 65 73 74 3E 3C 66 6C 61 67
73 3E 30 3C 2F 66 6C 61 67 73 3E 3C 6D 65 74 68
6F 64 3E 3C 63 6C 61 73 73 3E 63 6F 6D 2E 74 68
6F 6D 73 6F 6E 2E 73 68 65 6C 6C 2E 73 68 61 72
65 64 2E 53 68 65 6C 6C
<com.hp.dfe.GWT__Request><moduleBaseURL>http://123XXXXXXXX11/innovation-4.7/com.XXX.Shell/</moduleBaseURL><rpcRequest><flags>0</flags><method><class>com.XXXX.shell.shared.Shell
End dump of original buffer.
      [MsgId: MWAR-27040]
Action.c(776): Error: C interpreter run time error: Action.c (776):  Error -- memory violation : Exception ACCESS_VIOLATION received.

Please let me know the solution if anyone have faced this issue.

Thanks!!! in Advance

SAML Request is not getting generated in reply

$
0
0

Hi ,

 

We are facing issue while replaying our script. We are able to record SAML request while recording but while replaying the same script , we are not getting SAML request which should be generated.

If we record for 2nd or 3rd time we are getting SAML request generated and we can see it in Generation log but issue is while replaying we are not getting SAML request in replay log.

 

 

We are using LR 11.52 and Chrome v 26 for recording.

Unable to install HP LoadRunner 12.5 Community editions

$
0
0

I am new to HP LoadRunner and I am trying to install LoadRunner, but everytime it gets to applying configurations it stalls.

my UAC is turned off and so is my DEP

Anyone got any suggestions?

 

 

Unable to Record Oracle 12g form with LR 11.52

$
0
0

Hi All,

 

We are using oracle 12g web forms, forms are not opening while recording with Vugen but manually we are able to open the forms. Could you please suggest any settings that we need to change in Vugen/Java/Machine. And also when we are using VPN connection not able to record in socket mode only winnet mode is working.

Versions.

Oracle 12g 

LR 11.52

We appreciate your quick help its bit urgent..

Thanks in Advance

 

Decoding GWT application request possible in Neoload but not in HP Loadrunner 12.02

$
0
0

Hello,

I tried recording a GWT based application using the GWT DFE chain in VUGen 12.02 but I was not successful in decoding the web custom requests which was getting displayed in pipe formats. But when I included the same .war file in Neoload and tried to record the application, atleast I was able to see the XML based request which was converted (using the war file).

Can you please analyse this issue and help me to solve it using HP Loadrunner. Attaching the XML file (login functionality) for your reference. Also I will attached the piped web custom request which I got after recording using VUGen.

Thanks for your help.

Viewing all 3978 articles
Browse latest View live


Latest Images

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