Highlighted
Regular Contributor.
Regular Contributor.
225 views

Loadrunner Proxy

Hi Team,

I am trying to record a mobile app through mobile device with LR12.60 using Load Runner Mobile and Iot Protocol  and "Remote Application via Loadrunner Proxy"

But while recording, I am unable to open the app through mobile and none of the events are getting generated in VuGen.

I have already implemented the below mentioned  pre-requisites -

1. Both the Mobile and the VuGen are on the same WiFi network

2. Have entered the SSL certificate of the app in the Recording options - Mapping and Filtering.

3. I am unable to download Loadrunner proxy Certificate.

Please suggest me ASAP.

Labels (1)
0 Likes
12 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Loadrunner Proxy

Hi @RaviKumar2310 

If you want to download Loadrunner proxy Certificate, you can find it in <LR install folder>\certs\wplusProxyServerCA_sha256.cer

It's same as http://<proxy recording url>/proxyroot.cer

But I'm not sure if it can really solve your issue because

1. Do you know how to install it on you mobile?

2.No proxy recording logs shows the issue was client connection or server connection

 

Normally proxy recording works as below

Mobile -> LR remote proxy -> Real Server

 

It can be failed because

1. Mobile(doesn't trust LR Certificate) -x- LR remote proxy

or

2.LR remote proxy -x- Real Server(doesn't trust LR Certificate)

 

Regarding the 1st issue, you have to add LR Certificate to your Mobile's trusted list.

Or, if you can get real server's certificate, you can add it by "Mapping and Filtering"-"New Entry"-"Use specified proxy-server certificate" to pretend that LR proxy is real server.

 

Regarding the 2nd issue, you have to add you moblie's certificate by "Mapping and Filtering"-"New Entry"-"Use specified client-side certificate" to pretend that LR proxy is your mobile.

 

 

Regards,

Wei-Wei Zhang

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: Loadrunner Proxy

Hi Wei-Wei Zhang,
Thanks for reply,

I have tried all things but not able to download proxy certificate.
Thank you...
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Loadrunner Proxy

Hi @RaviKumar2310 

Do you mean the "proxyroot.cer"?

If you want LoadRunner Proxy certificate, 

normally you can get it by http://<ip address of your remote proxy recording machine>:<port>/proxyroot.cer

If you cannot download it by this url, just find your LoadRunner install folder.

There's a wplusProxyServerCA_sha256.cer in <LR install folder>\certs\

It's the same file as proxyroot.cer.

 

Regards,

Wei-Wei Zhang

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: Loadrunner Proxy

Hi @Wei-Wei Zhang,

I have tried with that getting an error like "This site can’t be reached192.168.0.14 refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED"
Url : http://192.168.0.14:2345/proxyroot.cer
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Loadrunner Proxy

Hi @RaviKumar2310 

If you cannot download it by url, just find your LoadRunner install folder.

There's a wplusProxyServerCA_sha256.cer in <LR install folder>\certs\

It's the same file as proxyroot.cer.

 

Regards,

Wei-Wei Zhang

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: Loadrunner Proxy

Hi @ Wei-Wei Zhang,
Can you give your contact number
In my Loadrunner folder wplusProxyServerCA_sha256.cer is not available
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Loadrunner Proxy

So what's in your <LR install folder>\certs ?

I attached a screenshot of path and folder.

You can find wplusProxyServerCA_sha256.cer in C:\Program Files (x86)\Micro Focus\LoadRunner\certs

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: Loadrunner Proxy

Hi,

I am able to recorded successfully but events are not recording.
0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Loadrunner Proxy

Could you upload your script(whole script folder) or RecordingLog.txt ? 

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: Loadrunner Proxy

Hi  Zhang

0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Loadrunner Proxy

Recording logs shows the remote proxy didn't get any request.

Did you set the right ip and port to your mobile's proxy?

The proxy ip and port was output in VuGen and Recording log

"Started proxy on port XXXX listening IP XXX.XXX.XXX.XXX, in synchronous mode"

The port can be dynamic, please check it before setting your mobile's proxy.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.