Unanswered question

Unable to record HTTPS application

Hi ,
I am Unable to record HTTPS application completely even after adding Do not trust Neoload certificate and even our applications required certificate, means i am able to login but after clicking on any other tabs nothing gets recorded.Please help, i tried with both proxy mode and tunnel mode.

Paras R.
Paras R.

Paras R.

Level
1
115 / 750
points

Answers

I do not think that the SSL certificate is an issue here. You said after the login nothing is recorded when you click on other tabs. But maybe there's no new request that is sent to the server.

Have you tried to modify some record in your application and see if there's something recorded?

If the application is still working then even nothing is sent to the server, the application is not using anymore the browser proxy to send data or the traffic is not HTTP anymore.

Could you describe a bit your application? Is it using JAVA applet inside/outside the browser? Any other technologies?

Are you sure that after login, it is still using HTTP protocol?

Paras R.
Paras R.

Paras R.

Level
1
115 / 750
points

There is new request sent to server on each tab as the values are getting fetched,its a JAVA WEB application, its not using applet inside/outside browser and after login it is using HTTP protocol only.

What browser do you use for the recording? By default JAVA is configured to use the browser settings so if you use IE it shoud be fine. 

Otherwise you can force JAVA to use a specific proxy. In that case, you could try to force the use of "localhost:8090" which is the NeoLoad proxy and check if your requests are recorded.

See screen shot in attachment.

Paras R.
Paras R.

Paras R.

Level
1
115 / 750
points

Yes we are Using IE for the same.

Paras R.
Paras R.

Paras R.

Level
1
115 / 750
points

I am facing below error while clicking on tabs

NeoLoad recording
An error occurred when playing request to the server: javax.net.ssl.SSLException: Received fatal alert: unexpected_message

Do you get that error after forcing the proxy settings in the JAVA panel?

If yes that means that now the traffic from your application is really going through the NeoLoad proxy during the recording.

In the JAVA panel, you have a "Security" tab where you can see the SSL certificate. Do you have the NeoLoad certificate loaded for the "Trusted certificates"?

If no could you load it and try again a NeoLoad recording?

 

Paras R.
Paras R.

Paras R.

Level
1
115 / 750
points

No i have not made any setting in java panel.I am recording it through IE only

I'm confused. In the beginning you said that nothing was recorded when you clicked on your tabs. Now you say that you have an SSL error. Do you mean that you had that error from the beginning?

Could you provide the full stack trace of that error if any?

When you start the NeoLoad recording do you have any SSL warning from the browser that you can skip?

Could you provide a screen shot so i can understand better?

Thanks

Paras R.
Paras R.

Paras R.

Level
1
115 / 750
points

I am able to login to the application but after clicking tabs facing this error:

2015/06/09 16:04:13 ERROR - neoload.Proxy: Error when playing a request to the server javax.net.ssl.SSLException: Received fatal alert: unexpected_message
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:502)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2207)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1136)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:549)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:209)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at com.neotys.nl.controller.k.fc.a(fc.java:1368)
at com.neotys.nl.controller.k.fc.b(fc.java:806)
at com.neotys.nl.controller.k.fc.run(fc.java:323)