i'm using gatling 2.0.3, and i'm looking to execute a single chain and store the auth token before running some complex scenario's. But i can't find a way to share the token across scenarios with out first executing the auth chain and writing it to a file, to be picked up by a feeder. Is there a correct way to do this?
before{
scenario_get_auth.inject(
//make auth call and save to file for feeder
)
}.protocols(default_http)
setUp{
scenario_load_one.inject(
constantUsersPerSec(10).during(test_duration_secs)
)
scenario_load_two.inject(
constantUsersPerSec(1-).during(test_duration_secs)
)
}.protocols(default_http)