Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: Load Runner - Error: nca_connect_server: cannot communicate with host

$
0
0

I got this to work using a similar approach to what Ray mentioned.

 

Recording Protocol: Oracle Web App 11i

 

The script already had this correlation variable for Session ID...so I used it.

 

***Correlation Variable***

web_reg_save_param("NCAJServSessionId",
"LB=",
"RB=",
"Search=Noresource",
LAST);

 

 

 

***BEFORE***

//    web_url("lservlet;jsessionid=fj9RSpsZswsqnMKyMMjc93fCNDDpB2Wxmfygl30HtmmJnNkF1BgD!-1314234205", 
//        "URL=https://wfl-prod.web.com/forms/lservlet;jsessionid=fj9RSpsZswsqnMKyMMjc93fCNDDpB2Wxmfygl30HtmmJnNkF1BgD!-1314234205?ifcmd=getinfo&ifhost=APP-29&ifip=169.254.223.237", 
//        "Resource=0", 
//        "RecContentType=text/plain", 
//        "Referer=", 
//        "Snapshot=t139.inf", 
//        "UserAgent=Mozilla/4.0 (Windows Server 2008 R2 6.1) Java/1.7.0_21", 
//        "Mode=HTTP", 
//        LAST);

 


***AFTER***NOTE that you have to use the correlation variable twice***    
        web_url("lservlet;{NCAJServSessionId}", 
        "URL=https://wfl-prod.web.com/forms/lservlet;{NCAJServSessionId}?ifcmd=getinfo&ifhost=APP-29&ifip=169.254.223.237", 
        "Resource=0", 
        "RecContentType=text/plain", 
        "Referer=", 
        "Snapshot=t139.inf", 
        "UserAgent=Mozilla/4.0 (Windows Server 2008 R2 6.1) Java/1.7.0_21", 
        "Mode=HTTP", 
        LAST);

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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