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

How to make multiple sessions for different Vusers in Citrix server login

$
0
0

Here is my LR citrix code snippet for Citrix server login

 

    ctrx_set_connect_opt(CLIENT_NAME, "{ClientName}");
    //ctrx_set_connect_opt(ICAFILE, "{ICA}");
    
    lr_output_message("Client Name: %s", lr_eval_string("{ClientName}"));

    ctrx_set_connect_opt(NETWORK_PROTOCOL, "TCP/IP + HTTP");

    ctrx_connect_server("Hostname", "username", lr_decrypt("password"), "domain", CTRX_LAST);

    ctrx_wait_for_event("LOGON", CTRX_LAST); 

 

Every time I ran even with different ClientName, it will pick hte same session of previous run ( if the session is not timeout).

 

If I change login through ICA files (different file but same parameters), it pick the same session as well. However if I click these two files on my desktop, it can launch different sessions.

 

Note the above use same credentials. 

 

Any advice  (other creating different users) to launch different sessions for each Vusers in concurrent running?

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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