Forum Discussion
nganapathiraju
9 years agoFormer Employee
Yes I have repeated in SOAPUI and it is successful.
I have raised an internal thread and waiting for feedback.
nganapathiraju
9 years agoFormer Employee
Thanks @tstack
It is now successful.
Few things to note:
HTTP calls are very finicky about syntax and well formation of the attributes.
There needs to be a space after the semi-colon in the cookie header:
‘JSESSIONID=’ + $SessionID + '; ’ + $Token
Also, the X-XSRF-TOKEN header should have just the token value and not ‘XSRF-TOKEN=“…”’. I extracted the token like so:
$Token.match(/=“(.*)”$/)[1]
see the query variable how it is formed.
query: ‘{“FirstName”:"’+$FirstName+‘", “LastName”: "’+$LastName+‘"}’
Attached is my pipeline.
NG_Join_Search1_2017_08_10.slp (8.5 KB)