Sorry, I am not sure I understand your requirement here. Is it that you want to match a request with a header of
apiKey: [t,e,s,t]
t
test
08/11/2023, 2:36 PM
Yup, exactly. I'll have a key with value "test".toCharArray(), so it should match ["t","e","s","t"]
the only idea I have come up with would be to use matcher like
"value": {
"matches": "^(.*[\"t\",\"e\",\"s\",\"t\"]])"
}
but it looks like a workaround. Or would it be proper solution?
j
Jamie Tanna [he/him]
08/11/2023, 2:38 PM
Out of interest, what problem are you trying to solve here?