Unrecognized behavior

11 views
Skip to first unread message

Supta Biswas

unread,
Jan 17, 2022, 5:12:54 AM1/17/22
to mountebank-discuss
Hi,
I am trying to use "copy behavior" in this format:
{
"from" : "body",
"into" : "${{msg}}",
"using" : {
   "method" : "jsonpath",
   "selector" : "$..message"
}
}
Got error while updating this imposter-
error creating imposter: [{"code" : "bad data", "message" : "Unrecognized behavior : \"from\"" , "source" : {"from" : "body","into" : "${{msg}}","using" : {"method" : "jsonpath","selector" : "$..message"}}}].

I am using mountebank release 2.5.0 & ui testinggospels. 

TIA.
Reply all
Reply to author
Forward
0 new messages