Exception : Failed to build request

Hi,

Can you please help me about these error. From screenshot it seems that request is being timed out. Simulation log shows following data.

GROUP Failed to build request : No attribute named ‘auth_token’ is defined

I am using below code in testing.

.exec(http(“Admin_Login_Request”)
.post(":8181/oauth/token")
.headers(headers_1)
.body(RawFileBody(“LoginBodyDetails.txt”))
.basicAuth(“somedata1”,“somedata2”)
.check(jsonPath("$.access_token").optional.saveAs(“auth_token”)))

Screenshot :-


Hi ,
I increased following values.
connectTimeout = 600000
handshakeTimeout = 600000
pooledConnectionIdleTimeout = 600000
readTimeout = 600000
requestTimeout = 600000.


Result are promising to me . Thanks
|