vugen

how to pass one script variable values to another script in loadrunner

时光总嘲笑我的痴心妄想 提交于 2020-01-07 07:36:10
问题 I am new to load runner and i am preparing script for REST ,here i will get one token in response where i need to use same token value in another script to validate the customer details ,i am using web_reg_save_param t save those value i.e token value in some variable.please help how can i pass that particular value into another script which is dependent. i have tried below script if (atoi(lr_eval_string("{SecurityToken}")) > 0) { lr_end_transaction("01_Cards",LR_PASS); lr_output_message(lr

how to parameterize the value in json file - loadrunner

故事扮演 提交于 2019-12-24 10:40:24
问题 Need some help in loadrunner scripting with REST api. I have a requirement that LR script should always replace the unique parameter and this parameter should be part of Json body. File whatever i am using is huge. Hence, i created payload.json in extra files of LR. In Bodyfilepath i give this name of json file. In the payload.json i have parameterised a value (which needs to be unique every iteration) for request to be succesful. However, this paramter value is not getting replaced. Can

Loadrunner - share common action between scripts

左心房为你撑大大i 提交于 2019-12-24 10:38:20
问题 Is there a clever way to share common actions between scripts in Loadrunner? Let me explain. Our company will have to create 50 different scripts with different scenarios. Most of them requires logging on to our website, and logging out. It's kind of annoying to have to update 50 scripts, when the log-in requests are changed. Can this be created once, and be used by all the other scripts? Using C-language, Web - http, Loadrunner 11.5 回答1: Use a C header file, such as myfunctions.h You can

How to change input soap request as per test data in loadrunner?

♀尐吖头ヾ 提交于 2019-12-08 12:03:20
问题 I am working with one soap request where we need to pass,single data in one parameter and in 2nd iteration we need to pass multiple test data in same input request.Please help me how to change input soap request as per test data,please find below soap requests for single and multiple requests. Single Request: <ReqDtls> <vReqs> <amount>1.00</amount> <cardNo>8897654778999</cardNo> </Reqs> <cardType>caredit</cardType> </ReqDtls> Multiple Requests:In same soap input requests,it is changing

Loadrunner Analysis: How can the 90th percentile be higher than the average?

筅森魡賤 提交于 2019-12-07 18:50:09
问题 A bit confused. I have a few Loadrunner Analysis from a report I've run. I'm new to testing. My understanding of the 90th percentile is that, given that it takes the 90th percentile and leaves out the outliers, it presents a truer picture. Although I'm looking at two different reports and in both, the 90th percentile response time is higher than the average response time given in the Summary Report. How can that be possible? I'm looking at the graph of transaction response times (Percentile)

Loadrunner Analysis: How can the 90th percentile be higher than the average?

懵懂的女人 提交于 2019-12-06 13:02:41
A bit confused. I have a few Loadrunner Analysis from a report I've run. I'm new to testing. My understanding of the 90th percentile is that, given that it takes the 90th percentile and leaves out the outliers, it presents a truer picture. Although I'm looking at two different reports and in both, the 90th percentile response time is higher than the average response time given in the Summary Report. How can that be possible? I'm looking at the graph of transaction response times (Percentile) and the last 10% shoot up, therefore telling me that taking the 90% should see a lower response time.