Yes. I am using the below check.
.check(regex(“”““ConfirmationID”:”([^“]*)”“”).saveAs(“ConfirmationID”)) which is not working currently and i ma getting Http 405 error.
Response:
Response DefaultHttpResponse(chunked: false)
HTTP/1.1 405 Method Not Allowed
Server: Apache/2.2.15 (Red Hat) mod_jk/1.2.28
Foglight-Request-UUID: 3b849e4e-4a23-4d04-811f-fa0ff8a2c3c7
Vary: Accept-Encoding
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS
Access-Control-Max-Age: 1728000
Access-Control-Allow-Headers: X-Requested-With,Content-Type
RealServer: miagrbiwebwa03v.stg.rbi.local
Content-Type: application/json;charset=UTF-8
Connection: close
Set-Cookie: NSC_38817_208.39.104.44=ffffffff0974491c45525d5f4f58455e445a4a423660;expires=Thu, 03-Apr-2014 16:18:37 GMT;path=/;httponly
Content-Length: 514
11:03:34.714 [DEBUG] c.n.h.c.p.n.NettyAsyncHttpProvider - Closing Channel [id: 0xf0f83839, /113.128.152.218:31406 => stg.redboxinstant.net/23.73.29.57:443]
11:03:34.716 [DEBUG] c.n.h.c.p.n.NettyAsyncHttpProvider - Channel Closed: [id: 0xf0f83839, /113.128.152.218:31406 :> stg.redboxinstant.net/23.73.29.57:443] with attachment com.ning.http.client.providers.netty.NettyAsyncHttpProvider$DiscardEvent@fd82f5
11:03:34.716 [DEBUG] c.n.h.c.p.n.NettyAsyncHttpProvider - Closing Channel [id: 0xf0f83839, /113.128.152.218:31406 :> stg.redboxinstant.net/23.73.29.57:443]
11:03:34.718 [WARN ] c.e.e.g.h.a.GatlingAsyncHandlerActor - Request ‘request_191’ failed : Check ‘in’ failed, found 405 but expected List(200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 304)
11:03:34.724 [TRACE] c.e.e.g.h.a.GatlingAsyncHandlerActor -
Request:
request_191: KO Check ‘in’ failed, found 405 but expected List(200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 304)