Gatling with python script

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

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.

Thanks### StéphaneLet me check !

Regards
Sathish