How to pass value between two scenarios in gatling?
问题 I have two scenarios in my script. I want to pass value of "CreateId" to 2nd scenario. I have saved "CreateId" in 1st scenario. Error says: No attribute named 'CreateId' is defined jsonPath($.id).find(0).exists, found nothing Scenario - 1 val create = scenario("Create") .exec(http("post_request_create") .post("/api/asdf") .headers(headers_10) .body(StringBody(session =>s"""{"name": "${randomName()}"}""")).asJSON .check(jsonPath("$.id") .saveAs("CreateId")) ) Scenario - 2 val addTerm =