New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recorder: Not able to record login scenario using Gatling 2.0.0-M3a #1792
Comments
Hi, Can you reproduce with current snapshot? |
Yes, I have tried with Gatling 2.0.0-SNAPSHOT. I have cleared cookies , caches everything also removed existing saved certificates for Gatling , restarted browser and again tried to record but still have a same problem on login button click recorder throws exceptions.
|
The stacktrace clearly states Try temporarily disabling your firewall and your antivirus, or other security software you have. If you still can't record, I suggest you go with the Recorder HAR parser mode: https://github.com/excilys/gatling/blob/master/src/sphinx/http/recorder.rst#har-files |
Thanks Stephane, I have uninstalled the antivirus and disabled the firewall but still
|
This request should have been filtered (CONNECT): #1793 Just remove it. |
Yes,It works fine for me. if it is in signature, it will expire after certain period of time ? However our actual HTTPS issue in not yet solved ? |
Depends on your use case. If users have to log in, have different credentials and play different data, yes, you have to inject data. See Feeder API.
How can I tell? I don't know what you've recorded, what the transformed result look like and how users authenticate on your application.
|
@swapnilvkotwal Can I ask you how you recorded the HAR file? I wonder how you have been able to have a CONNECT request in it. |
I have recorded har file using Charles proxy. I have recorded, login to my web app. So, should this script every time |
What was the authentication method? A form? Basic auth? OAuth? |
It is a form submission recorded by our script, but don't see any credentials in the generated file. Should I modify that generated script for feeder and param support ? |
Looks like a bug in the generation. It should be here. Could you upload your HAR file with anonymized credentials and url please? Just the form submission request would be enough. |
@slandelle:- I think the middle man or a security software that restric me to record HTTPS logins is browser's some native Plugins or functionality. When HTTPS pages loaded favicon in URL shows red alert dialog with some error "Connection not encrypted " |
Nothing we can do then. |
Closing for now: not much we can do. |
Hey Swapnil i am still having an issue with Gatling recorder i am not able to record the script from VPN connection. |
Hi,
I have tried to record some website login scenario but recorder throws exceptions.
I have landed on login page but when I entered valid creadentials, it won't works for me.
I have win 7, 64 bit machine and Java 8 installed.
Also, I have a problem to render paged with HTTPS protocol and I'm not able to login as login pages mostly supports to HTTPS protocol.
The text was updated successfully, but these errors were encountered: