I've found that this happened when I run this code together with other exec in chain:
val scn = scenario("ConvertToDate").exec(
ConvertToDate.test()
)
object ConvertToDate {
def test() =
exec(
http("ConvertToDate")
.post("/jobs?sync=true&timeout=300")
.body(StringBody(body("dfdsdsds"))).asJSON
)
test failed as it should but if add another copy of test function:
val scn = scenario("ConvertToDate").exec(
ConvertToDate.test(),
ConvertToDate.test()
)
test run successfully
What I missed here?
вторник, 25 апреля 2017 г., 14:12:32 UTC+3 пользователь Sergey Dashko написал: