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

LoadRunner 11.0- Generating "EXTRARES" content manually

$
0
0

Hi All

 

I have recorded performance scenario in   SharePoint web site using the loadrunner 11.0 using Web(Http/Html) protocol

 

The scenario steps for the Create user is as below.

 

1. Logging to the system

2. Navigate create user Page

3. Search and select User work ID

4. Validate user Email.

5. Create User

6. Logout

 

Recording can be done without any issue. But when recording transaction 3 and 4, loadrunner recording agent indicate request being captured. Also relevant requests are showing under the transactions in the recording log.

 

But those requests are not generated under the relevant transactions in the script. Instead of that, they are showing under "EXTRARES" in the "Navigate to Create User Page" transaction.(The requests recording under "EXTRARES" are for .svc and js contents)

 

I have used recording option

 

  • HTML-based script >  a script describing user actions > record with the current script step (NON_HTML elements)

 

 

Output

 

            lr_start_transaction("Navigate create user Page");

 

            lr_think_time(11);

 

 

web_url("CreateUser.aspx",

"URL=https://dd.ddr.com/_vti_bin/SitePages/CreateUser.aspx",",

"Resource=0",

"RecContentType=text/html",

"Referer=https://dd.ddr.com/_vti_bin/SitePages/CreateUser.aspx",",

"Snapshot=t12.inf",

            "Mode=HTML",

           

EXTRARES,

           

           

            "Url=../_vti_bin/ddr.Services/UserWorkID.svc/CompanyUser/1/e", ENDITEM,

            ... etc

           

LAST);

 

lr_end_transaction("Navigate create user Page");

 

lr_start_transaction("Search and select User work ID");

lr_end_transaction("Search and select User work ID");

 

Questions

 

 

  1. Why those request are recording under "EXTRARES" even I have do search and select functionality under transaction "Search and select User work ID"  ?

(Even though those are resource files, call them under relevant transactions)

 

2. When giving the performance results I have to give separate transaction response times for step 1 to step 6 as above

 

 According to the above content response time for "Search and select User work ID" will also added under "Navigate create user Page" transaction

 

---------------------------------------------------------------------------------------------------------------------------

Secondly I have used the Recording option

 

  •  HTML-based script> a script describing user actions > record in separate steps and use concurrent groups (NON_HTML elements) (same behavior but no EXTRARES now)

 

All the requests generated under EXTRARES now generated as web_custom_requests” under Web_Concurrent groups. But also under "Navigate create user Page" transaction.

 

Then I tried to manually add the following web_custom_request from “web_concurrent_start/end” in to the Transaction 3 (accordingly for transaction 4). But in the runtime manually added request didn’t work.

 

web_custom_request("e",

                        "URL=https://dd.ddr.com/_vti_bin/ddr.Services/UserWorkID.svc/CompanyUser/1/e",

                        "Method=GET",

                        "Resource=1",

                        "RecContentType=application/json",

                        "Referer=https://dd.ddr.com/_vti_bin/SitePages/CreateUser.aspx",

                        "Snapshot=t21.inf",

                        LAST);

 

Please suggest a solution to manually add the relevant requests under the relevant transactions or any other idea related to response time result breakdown?

 

 

Thanks and Regards

 

Zen_T


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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