Webinject - Web transaction with OKTA not working
Posted: Fri Aug 14, 2020 9:37 am
Hello - anyone have any luck using the webinject to log into OKTA and then look for content on redirected page. Does not seem to be able to login. What am I missing? Any assistance here
example:
<testcases repeat="1">
<case
id="1"
description1="initial url"
method="get"
url="https://url"
/>
<case
id="2"
description1="redirected to okta"
method="post"
url="https://okta.com"
postbody="username=USER&password=PASSWORD1"
verifynegative="User unknown"
errormessage="Unable to authenticate user in Okta"
logrequest="yes"
logresponse="yes"
/>
<case
id="3"
description1="Navigate through MyApplication while authenticated"
method="get"
url="https://redirected url"
verifypositive="Hello, world"
errormessage="Unable to MATCH content Hello, world"
logrequest="yes"
logresponse="yes"
/>
</testcases>
example:
<testcases repeat="1">
<case
id="1"
description1="initial url"
method="get"
url="https://url"
/>
<case
id="2"
description1="redirected to okta"
method="post"
url="https://okta.com"
postbody="username=USER&password=PASSWORD1"
verifynegative="User unknown"
errormessage="Unable to authenticate user in Okta"
logrequest="yes"
logresponse="yes"
/>
<case
id="3"
description1="Navigate through MyApplication while authenticated"
method="get"
url="https://redirected url"
verifypositive="Hello, world"
errormessage="Unable to MATCH content Hello, world"
logrequest="yes"
logresponse="yes"
/>
</testcases>