Browser session storage

115 views
Skip to first unread message

Sathishkumar Chinnadurai

unread,
Apr 20, 2021, 8:11:08 AM4/20/21
to Gatling User Group
Dears

I am new to Gatling and I have a scenario where access token is stored in sessionStorage of the browser. Is there any way to access session storage from gatling to access the token.

I have put a screenshot of google's session storage.

SessionStorage.png

Kind request to let me know if its possible by integrating gatling with any other libraries etc?

regards
Sathish

Sébastien BREVET

unread,
Apr 20, 2021, 9:02:01 AM4/20/21
to gat...@googlegroups.com
Gatling does not simulate a browser.

No javascript is executed, so Gatling does not manage the localstorage.

You will have to know where to find your value and save it in the session.

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gatling/979553e5-fba3-4bf6-acf1-50ace3ccc93an%40googlegroups.com.


--
LogoSébastien BREVET
Backend engineer
site: gatling.io

Sathishkumar Chinnadurai

unread,
Apr 20, 2021, 9:34:35 AM4/20/21
to gat...@googlegroups.com
Thanks Sebastien ! Its clear!

regards
Sathish

Reply all
Reply to author
Forward
0 new messages