Closed oxtoacart closed 10 years ago
Try using
{
"[my custom name]-response" : {
"regex" : "[my custom regex]"
},
"[my custom name]-request" : {
"regex" : "[my custom regex]"
}
}
the key is that you need to use the suffixes request
and response
, and not upstream
and downstream
.
Ah, yes, that worked, thanks!
If I try to run a client and server using a definitions file with custom format names like the below, and manually specify formats of "lantern-upstream" and "lantern-downstream" for the upstream and downstream formats respectively, the test simply hangs.
If I just change the format names back to the default ones and then run the client and server without specifying custom formats, the test succeeds (and in fact uses my custom formats).
Not a huge deal right now because I can work around it by just using the default format names.
19700101.json (bad)
19700101.json (good)