Gatling with python script

512 views
Skip to first unread message

Sathishkumar Chinnadurai

unread,
Apr 23, 2021, 2:52:20 AM4/23/21
to Gatling User Group
Dear all 

I have a requirement to launch stress tests on apis , but the tokens for these apis are coming from a python program.

Is there any easy way to call python scripts inside gatling script ?

Will Gatling support it ?

regards
Sathish

Stéphane LANDELLE

unread,
Apr 23, 2021, 2:55:50 AM4/23/21
to gat...@googlegroups.com
No, it's not easy, just like call Java code from python.

The most efficient way would be to reimplement your python code in Java or Scala.
Otherwise, if you only want to call this program once before the load test actually starts, you can launch a native process.

Logo Stéphane Landelle
Chief Technical Officer
twitter: @slandelle
site:
gatling.io




--
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/258a46c3-11b1-49f4-818c-010819ccbe31n%40googlegroups.com.

Sathishkumar Chinnadurai

unread,
Apr 23, 2021, 6:08:07 AM4/23/21
to gat...@googlegroups.com
Thanks 

Stéphane 

Let me check !

Regards
Sathish

Reply all
Reply to author
Forward
0 new messages