Difference between revisions of "Auth profile SoapUI"

From i2Rest
Jump to: navigation, search
Line 5: Line 5:
 
where <Managment Gate URL> is the value in your configuration *.json.<br>
 
where <Managment Gate URL> is the value in your configuration *.json.<br>
 
<div style="padding-bottom:6px">[[File:Auth_soapui_1.png]]<div>
 
<div style="padding-bottom:6px">[[File:Auth_soapui_1.png]]<div>
Change reques method for POST, then choose or type "application/json" in Media type and provide request body:
+
Find Auth tab in the left bottom corner of the screen, then choose "Add New Authorization..." .<br>
<pre>
+
<div style="padding-bottom:6px">[[File:Auth_soapui_2.png|800px]]<div>
{
 
    "input":{"echo":"0"},
 
    "joblog":true,
 
    "tracein":true,
 
    "traceout":true
 
}
 
</pre>
 
Then submit request.<br>
 
<div style="padding-bottom:6px">[[File:Echo-soapui-3.png|800px]]<div>
 
 
Find server responce under the JSON tab:<br>
 
Find server responce under the JSON tab:<br>
 
<div style="padding-bottom:6px">[[File:Echo-soapui-4.png|800px]]<div>
 
<div style="padding-bottom:6px">[[File:Echo-soapui-4.png|800px]]<div>

Revision as of 13:40, 25 June 2020

We assume that you already have Soap UI installed. If not, open source installation package could be found on https://www.soapui.org/downloads/soapui/.
Run SOAP UI, if you alredy have a project, you would like to update with authorization profile - go to it. Otherwise go to File ---> New REST Project. As an example we will create Managment Api call poject. Specify URI to request as follows:

<Managment Gate URL>

where <Managment Gate URL> is the value in your configuration *.json.

Auth soapui 1.png

Find Auth tab in the left bottom corner of the screen, then choose "Add New Authorization..." .

Auth soapui 2.png

Find server responce under the JSON tab:

Echo-soapui-4.png