It looks like the POST stub on your CI system is being created without the scenario config. This is the request log event. If you look at the stubMapping section you'll see there are no scenario related attributes:
{
"id" : "c87f5959-511f-4fa9-8aa6-8bb4a15e1791",
"request" : {
"url" : "/petclinic/api/owners",
"method" : "POST",
"clientIp" : "10.205.205.74",
"headers" : {
"Sec-Ch-Ua" : "\"Microsoft Edge\";v=\"93\", \" Not;A Brand\";v=\"99\", \"Chromium\";v=\"93\"",
"Accept" : "application/json, text/plain, */*",
"Sec-Ch-Ua-Platform" : "\"Windows\"",
"User-Agent" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38",
"X-Forwarded-Proto" : "https",
"Sec-Fetch-Dest" : "empty",
"Sec-Fetch-Site" : "same-site",
"Accept-Encoding" : "gzip, deflate, br",
"X-Forwarded-Port" : "443",
"Sec-Fetch-Mode" : "cors",
"X-Forwarded-For" : "10.205.205.74",
"Accept-Language" : "en-GB,en;q=0.9,en-US;q=0.8",
"Content-Length" : "121",
"Sec-Ch-Ua-Mobile" : "?0",
"X-Real-Ip" : "10.205.205.74",
"X-Forwarded-Server" : "traefik-int-ingress-controller-7f8955587b-hx54m",
"Content-Type" : "application/json"
},
"cookies" : { },
"browserProxyRequest" : false,
"loggedDate" : 1631193841475,
"bodyAsBase64" : "eyJpZCI6bnVsbCwiZmlyc3ROYW1lIjoiU2VudGhpbCIsImxhc3ROYW1lIjoiU2h1bm11Z2EiLCJhZGRyZXNzIjoiMTQwMCBLb3ZpbmEiLCJjaXR5IjoiQ2hlbm5haSIsInRlbGVwaG9uZSI6Ijk4ODQzNjEwMTEifQ==",
"body" : "{\"id\":null,\"firstName\":\"Senthil\",\"lastName\":\"Shunmuga\",\"address\":\"1400 Kovina\",\"city\":\"Chennai\",\"telephone\":\"9884361011\"}",
"scheme" : "http",
"port" : -1,
"loggedDateString" : "2021-09-09T13:24:01Z",
"queryParams" : { }
},
"responseDefinition" : {
"status" : 201,
"body" : "{\n \"address\": \"lake view road\",\n \"city\": \"new york\",\n \"firstName\": \"Mark\",\n \"id\": 7,\n \"lastName\": \"Peters\",\n \"pets\": [\n {\n \"birthDate\": \"2021-05-11T09:12:23.679Z\",\n \"id\": 1,\n \"name\": \"Hoffman\",\n \"type\": {\n \"id\": 1,\n \"name\": \"Doggie\"\n },\n \"visits\": [\n {\n \"date\": \"2021/05/03\",\n \"description\": \"Doggie was visited\",\n \"id\": 1\n }\n ]\n }\n ],\n \"telephone\": \"8008015463\"\n}\n",
"bodyFileName" : "body-v2-petclinic-apiOwnersPost.json",
"headers" : {
"Access-Control-Allow-Origin" : "*",
"Access-Control-Allow-Credentials" : "true",
"Access-Control-Allow-Methods" : "POST, GET, OPTIONS, PUT, DELETE",
"Access-Control-Allow-Headers" : "*",
"Access-Control-Max-Age" : "86400",
"cache-control" : "no-cache, no-store, max-age=0, must-revalidate",
"content-type" : "application/json",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=315360000; includeSubDomains; preload",
"vary" : "Origin, Access-Control-Request-Method, Access-Control-Request-Headers",
"x-content-type-options" : "nosniff",
"x-frame-options" : "DENY",
"x-xss-protection" : "1; mode=block"
}
},
"response" : {
"status" : 201,
"headers" : {
"Access-Control-Allow-Origin" : "*",
"Access-Control-Allow-Credentials" : "true",
"Access-Control-Allow-Methods" : "POST, GET, OPTIONS, PUT, DELETE",
"Access-Control-Allow-Headers" : "*",
"Access-Control-Max-Age" : "86400",
"cache-control" : "no-cache, no-store, max-age=0, must-revalidate",
"content-type" : "application/json",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=315360000; includeSubDomains; preload",
"vary" : "Origin, Access-Control-Request-Method, Access-Control-Request-Headers",
"x-content-type-options" : "nosniff",
"x-frame-options" : "DENY",
"x-xss-protection" : "1; mode=block",
"Matched-Stub-Id" : "ad746870-f3d6-4048-acb8-ef1da3b6e923"
},
"bodyAsBase64" : "ewogICJhZGRyZXNzIjogImxha2UgdmlldyByb2FkIiwKICAiY2l0eSI6ICJuZXcgeW9yayIsCiAgImZpcnN0TmFtZSI6ICJNYXJrIiwKICAiaWQiOiA3LAogICJsYXN0TmFtZSI6ICJQZXRlcnMiLAogICJwZXRzIjogWwogICAgewogICAgICAiYmlydGhEYXRlIjogIjIwMjEtMDUtMTFUMDk6MTI6MjMuNjc5WiIsCiAgICAgICJpZCI6IDEsCiAgICAgICJuYW1lIjogIkhvZmZtYW4iLAogICAgICAidHlwZSI6IHsKICAgICAgICAiaWQiOiAxLAogICAgICAgICJuYW1lIjogIkRvZ2dpZSIKICAgICAgfSwKICAgICAgInZpc2l0cyI6IFsKICAgICAgICB7CiAgICAgICAgICAiZGF0ZSI6ICIyMDIxLzA1LzAzIiwKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJEb2dnaWUgd2FzIHZpc2l0ZWQiLAogICAgICAgICAgImlkIjogMQogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInRlbGVwaG9uZSI6ICI4MDA4MDE1NDYzIgp9Cg==",
"body" : "{\n \"address\": \"lake view road\",\n \"city\": \"new york\",\n \"firstName\": \"Mark\",\n \"id\": 7,\n \"lastName\": \"Peters\",\n \"pets\": [\n {\n \"birthDate\": \"2021-05-11T09:12:23.679Z\",\n \"id\": 1,\n \"name\": \"Hoffman\",\n \"type\": {\n \"id\": 1,\n \"name\": \"Doggie\"\n },\n \"visits\": [\n {\n \"date\": \"2021/05/03\",\n \"description\": \"Doggie was visited\",\n \"id\": 1\n }\n ]\n }\n ],\n \"telephone\": \"8008015463\"\n}\n"
},
"wasMatched" : true,
"timing" : {
"addedDelay" : 0,
"processTime" : 6,
"responseSendTime" : 1,
"serveTime" : 7,
"totalTime" : 7
},
"stubMapping" : {
"id" : "ad746870-f3d6-4048-acb8-ef1da3b6e923",
"request" : {
"url" : "/petclinic/api/owners",
"method" : "POST"
},
"response" : {
"status" : 201,
"bodyFileName" : "body-v2-petclinic-apiOwnersPost.json",
"headers" : {
"Access-Control-Allow-Origin" : "*",
"Access-Control-Allow-Credentials" : "true",
"Access-Control-Allow-Methods" : "POST, GET, OPTIONS, PUT, DELETE",
"Access-Control-Allow-Headers" : "*",
"Access-Control-Max-Age" : "86400",
"cache-control" : "no-cache, no-store, max-age=0, must-revalidate",
"content-type" : "application/json",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=315360000; includeSubDomains; preload",
"vary" : "Origin, Access-Control-Request-Method, Access-Control-Request-Headers",
"x-content-type-options" : "nosniff",
"x-frame-options" : "DENY",
"x-xss-protection" : "1; mode=block"
}
},
"uuid" : "ad746870-f3d6-4048-acb8-ef1da3b6e923"
}
}