test
08/11/2023, 2:01 PM"request": {
"urlPathPattern": "/some/url",
"method": "GET",
"headers" : {
"apiKey": {
"equalTo": "test"
}
}
}
This mapping will stub for string 'test' but i wanna match it to char.
The result would be
apiKey [matches] : test | apiKey: [t, e, s, t] <<<<< Header does not match
Putting in the mapping "equalTo": "test"
, ends up with initializationError -> equalTo operand must be a non-null string
I tried different options like 'matches' but nothing works. I get char array in header and I cannot change it. How can I stub it?Lee Turner
08/11/2023, 2:31 PMapiKey: [t,e,s,t]
test
08/11/2023, 2:36 PMJamie Tanna [he/him]
08/11/2023, 2:38 PM