Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
559 changes: 559 additions & 0 deletions API/Activities/CalculatorSOAP.xml

Large diffs are not rendered by default.

332 changes: 332 additions & 0 deletions API/Activities/PetstoreREST-readyapi-project.xml

Large diffs are not rendered by default.

559 changes: 559 additions & 0 deletions API/Activities/Project-1-readyapi-project.xml

Large diffs are not rendered by default.

473 changes: 473 additions & 0 deletions API/Activities/REST-Activity1-readyapi-project.xml

Large diffs are not rendered by default.

174 changes: 174 additions & 0 deletions API/Activities/REST-Activity4-readyapi-project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="80a3387a-1aa7-474a-a36b-7422828269a1" created="3.62.0" activeEnvironment="Default" encryptionMode="Not encrypted" name="REST Activity4" resourceRoot="" projectVersion="" updated="3.62.0 2025-09-03T10:21:09Z" abortOnError="false" runType="SEQUENTIAL" soapui-version="5.9.1" xmlns:con="http://eviware.com/soapui/config">
<con:settings/>
<con:interface xsi:type="con:RestService" id="d471d33d-a627-4260-9d81-0a80cf2e173c" wadlVersion="http://wadl.dev.java.net/2009/02" name="http://ipwhois.app" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:settings id="5d6d12b1-e75e-4231-ab1c-01532155f6fd"/>
<con:definitionCache type="TEXT" rootPart=""/>
<con:endpoints>
<con:endpoint>http://ipwhois.app</con:endpoint>
</con:endpoints>
<con:resource name="IP" path="/json/{IP}" id="5fdee6c4-83c7-4b1e-8f6f-b6833f57d624">
<con:settings/>
<con:parameters/>
<con:method name="IP" id="98122881-ea73-4778-a18a-c660572a6caa" method="GET">
<con:settings/>
<con:parameters>
<con:parameter required="true">
<con:name>IP</con:name>
<con:value>IP</con:value>
<con:style>TEMPLATE</con:style>
<con:default>IP</con:default>
<con:path xsi:nil="true"/>
<con:description xsi:nil="true"/>
</con:parameter>
</con:parameters>
<con:representation type="RESPONSE">
<con:mediaType>application/json; charset=utf-8</con:mediaType>
<con:status>200</con:status>
<con:params/>
<con:element xmlns:json="http://ipwhois.app/json/">json:Response</con:element>
</con:representation>
<con:representation type="RESPONSE">
<con:mediaType xsi:nil="true"/>
<con:status>0</con:status>
<con:params/>
<con:element>data</con:element>
</con:representation>
<con:request name="Request 1" id="4311fdd2-54ab-43c7-b13f-ba92d40ca1aa" mediaType="application/json">
<con:settings/>
<con:endpoint>http://ipwhois.app</con:endpoint>
<con:credentials>
<con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
<con:authType>No Authorization</con:authType>
</con:credentials>
<con:parameters>
<con:entry key="IP" value="IP"/>
</con:parameters>
<con:parameterOrder>
<con:entry>IP</con:entry>
</con:parameterOrder>
</con:request>
</con:method>
</con:resource>
</con:interface>
<con:testSuite id="e7dbac15-5d84-4100-90a2-814972a4d361" name="http://ipwhois.app Test Suite">
<con:settings id="0ee7da12-383a-4f78-8c78-ebced21cf2b9"/>
<con:runType>SEQUENTIAL</con:runType>
<con:testCase id="6c1a6978-fee7-4f30-832b-291e523aa082" discardOkResults="false" failOnError="false" failTestCaseOnErrors="true" keepSession="false" name="Test Case 1" searchProperties="true" timeout="0" maxResults="0">
<con:settings/>
<con:testStep type="datasource" name="DataSource" id="fe5e9c4b-6464-4d53-a28f-fd9cbc659b22">
<con:settings/>
<con:config xsi:type="con:DataSourceStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:dataSource type="File">
<con:configuration>
<fileName>C:/Users/004PA4744/Desktop/FST/FST_API/Activity4.txt</fileName>
<separator>,</separator>
<trim>true</trim>
<charset>Cp1252</charset>
<quotedValues>false</quotedValues>
</con:configuration>
</con:dataSource>
<con:shared>true</con:shared>
<con:restartShared>true</con:restartShared>
<con:property>IP</con:property>
<con:property>Address</con:property>
<con:restartOnRun>true</con:restartOnRun>
<con:stopDatasourceExhausted>false</con:stopDatasourceExhausted>
</con:config>
</con:testStep>
<con:testStep type="restrequest" name="Request 1" id="4296d099-6e81-4a68-9d1d-e1c132c55122">
<con:settings/>
<con:config service="http://ipwhois.app" resourcePath="/json/{IP}" methodName="IP" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:restRequest name="Request 1" id="4311fdd2-54ab-43c7-b13f-ba92d40ca1aa" mediaType="application/json">
<con:settings>
<con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting>
</con:settings>
<con:endpoint>http://ipwhois.app</con:endpoint>
<con:request/>
<con:originalUri>http://ipwhois.app/json/</con:originalUri>
<con:assertion type="Valid HTTP Status Codes" id="41f986e4-72a0-41a3-abb8-cab3ac7b8c23" name="Valid HTTP Status Codes">
<con:settings/>
<con:configuration>
<codes>200</codes>
</con:configuration>
</con:assertion>
<con:assertion type="JsonPath Match" id="d41a4ee3-dc75-4e35-85b2-371cb65992f9" name="JSONPath Match">
<con:configuration>
<path>$['country']</path>
<content>"India"</content>
<allowWildcards>false</allowWildcards>
<ignoreNamspaceDifferences>false</ignoreNamspaceDifferences>
<ignoreComments>false</ignoreComments>
</con:configuration>
</con:assertion>
<con:credentials>
<con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
<con:authType>No Authorization</con:authType>
</con:credentials>
<con:jmsConfig JMSDeliveryMode="PERSISTENT"/>
<con:parameters>
<con:entry key="IP" value="${DataSource#address}"/>
</con:parameters>
<con:parameterOrder>
<con:entry>IP</con:entry>
</con:parameterOrder>
</con:restRequest>
</con:config>
</con:testStep>
<con:testStep type="datasourceloop" name="Data Source Loop" id="3c0bbdd4-7203-4a3d-be9a-d8b5e32bad19">
<con:settings/>
<con:config>
<dataSourceStep>Data Source</dataSourceStep>
<targetStep>Request 1</targetStep>
<discardResults>true</discardResults>
</con:config>
</con:testStep>
<con:properties/>
<con:reportParameters/>
</con:testCase>
<con:properties/>
<con:reportParameters/>
</con:testSuite>
<con:requirements/>
<con:properties/>
<con:wssContainer/>
<con:databaseConnectionContainer/>
<con:jmsConnectionContainer/>
<con:oAuth2ProfileContainer/>
<con:oAuth1ProfileContainer/>
<con:reporting>
<con:xmlTemplates/>
<con:parameters/>
</con:reporting>
<con:eventHandlers type="RequestFilter.filterRequest" name="RequestFilter.filterRequest">
<con:script>// Sample event script to add custom HTTP header to all outgoing REST, SOAP and HTTP(S) calls
// This code is often used for adding custom authentication to ReadyAPI functional tests

// If hardcoding the token, uncomment and change line 5
// token = '4567'

// If your token is parameterized in Project level custom property, uncomment line 8
// token = request.parent.testCase.testSuite.project.getProperty('auth_token').getValue()

// To modify all outgoing calls, remove comments from lines 11 to 16
// headers = request.requestHeaders
// if (headers.containsKey('auth_token2') == false) {
// headers.put('auth_token2', token)
// request.requestHeaders = headers
// }</con:script>
</con:eventHandlers>
<con:eventHandlers type="TestRunListener.afterStep" name="TestRunListener.afterStep">
<con:script>// Save all test step results into files
// Change the directory path in line 5 to a location where you want to store details
// then uncomment lines 5 to 10

// filePath = 'C:\\tempOutputDirectory\\'
// fos = new java.io.FileOutputStream(filePath + testStepResult.testStep.label + '.txt', true)
// pw = new java.io.PrintWriter(fos)
// testStepResult.writeTo(pw)
// pw.close()
// fos.close()</con:script>
</con:eventHandlers>
<con:authRepository/>
<con:tags/>
</con:soapui-project>
167 changes: 167 additions & 0 deletions API/Activities/REST-Activity5-readyapi-project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="d2434e22-52de-4ba3-ab9b-b1e18d9bbc5f" created="3.62.0" activeEnvironment="Default" encryptionMode="Not encrypted" name="REST Activity5" resourceRoot="" projectVersion="" updated="3.62.0 2025-09-03T10:21:09Z" abortOnError="false" runType="SEQUENTIAL" soapui-version="5.9.1" xmlns:con="http://eviware.com/soapui/config">
<con:settings/>
<con:interface xsi:type="con:RestService" id="0b16e3d1-d5c1-4abb-a61a-d3e324813e21" wadlVersion="http://wadl.dev.java.net/2009/02" name="http://ipwhois.app" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:settings id="f66fdf51-7892-40d7-99cd-d0e4e7f02527"/>
<con:definitionCache type="TEXT" rootPart=""/>
<con:endpoints>
<con:endpoint>http://ipwhois.app</con:endpoint>
</con:endpoints>
<con:resource name="IP" path="/json/{IP}" id="8a9e55a3-7721-48c3-8505-944d9b666db5">
<con:settings/>
<con:parameters/>
<con:method name="IP" id="c96660b2-a410-48d6-aa5c-a79b2767a5ff" method="GET">
<con:settings/>
<con:parameters>
<con:parameter required="true">
<con:name>IP</con:name>
<con:value>IP</con:value>
<con:style>TEMPLATE</con:style>
<con:default>IP</con:default>
<con:path xsi:nil="true"/>
<con:description xsi:nil="true"/>
</con:parameter>
</con:parameters>
<con:representation type="RESPONSE">
<con:mediaType>application/json; charset=utf-8</con:mediaType>
<con:status>200</con:status>
<con:params/>
<con:element xmlns:ns="http://ipwhois.app/json/164.172.55.44">ns:Response</con:element>
</con:representation>
<con:request name="Request 1" id="ef3befd3-ab3d-4aa8-b84c-f4b31679f4f5" mediaType="application/json">
<con:settings/>
<con:endpoint>http://ipwhois.app</con:endpoint>
<con:credentials>
<con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
<con:authType>No Authorization</con:authType>
</con:credentials>
<con:parameters>
<con:entry key="IP" value="IP"/>
</con:parameters>
<con:parameterOrder>
<con:entry>IP</con:entry>
</con:parameterOrder>
</con:request>
</con:method>
</con:resource>
</con:interface>
<con:testSuite id="88dd2404-4aa8-434e-b793-c9b25edd50dc" name="http://ipwhois.app Test Suite">
<con:settings id="92cb6e8f-bbfc-4c5b-a42c-c7e473c1857d"/>
<con:runType>SEQUENTIAL</con:runType>
<con:testCase id="ee866402-c2f1-42c9-8382-1dcef21545ac" discardOkResults="false" failOnError="false" failTestCaseOnErrors="true" keepSession="false" name="Test Case 1" searchProperties="true" timeout="0" maxResults="0">
<con:settings/>
<con:testStep type="datasource" name="DataSource" id="3451c1ec-5665-4095-8c3e-8234311df03a">
<con:settings/>
<con:config xsi:type="con:DataSourceStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:dataSource type="Excel">
<con:configuration>
<file>C:/Users/004PA4744/Desktop/FST/FST_API/Activity5.xlsx</file>
<worksheet/>
<cell>A2</cell>
<ignoreEmpty>false</ignoreEmpty>
<evaluateFormulas>false</evaluateFormulas>
</con:configuration>
</con:dataSource>
<con:shared>false</con:shared>
<con:restartShared>false</con:restartShared>
<con:property>IP Address</con:property>
<con:restartOnRun>true</con:restartOnRun>
<con:stopDatasourceExhausted>false</con:stopDatasourceExhausted>
</con:config>
</con:testStep>
<con:testStep type="restrequest" name="Request 1" id="20223f09-5ad2-4d59-82b1-6118bdff1719">
<con:settings/>
<con:config service="http://ipwhois.app" resourcePath="/json/{IP}" methodName="IP" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:restRequest name="Request 1" id="ef3befd3-ab3d-4aa8-b84c-f4b31679f4f5" mediaType="application/json">
<con:settings>
<con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting>
</con:settings>
<con:endpoint>http://ipwhois.app</con:endpoint>
<con:request/>
<con:originalUri>http://ipwhois.app/json/164.172.55.44</con:originalUri>
<con:assertion type="Valid HTTP Status Codes" id="f355edc4-f6db-4d2b-92e6-17479e823f08" name="Valid HTTP Status Codes">
<con:settings/>
<con:configuration>
<codes>200</codes>
</con:configuration>
</con:assertion>
<con:assertion type="JsonPath Match" id="371fdfb5-1a1e-460a-bb5f-d93cdd30a56a" name="JSONPath Match">
<con:configuration>
<path>$['country']</path>
<content>"Norway"</content>
<allowWildcards>false</allowWildcards>
<ignoreNamspaceDifferences>false</ignoreNamspaceDifferences>
<ignoreComments>false</ignoreComments>
</con:configuration>
</con:assertion>
<con:credentials>
<con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
<con:authType>No Authorization</con:authType>
</con:credentials>
<con:jmsConfig JMSDeliveryMode="PERSISTENT"/>
<con:parameters>
<con:entry key="IP" value="${DataSource#IP Address}"/>
</con:parameters>
<con:parameterOrder>
<con:entry>IP</con:entry>
</con:parameterOrder>
</con:restRequest>
</con:config>
</con:testStep>
<con:testStep type="datasourceloop" name="Data Source Loop" id="91153b5a-509b-4dec-9f39-5d4d60016eaa">
<con:settings/>
<con:config>
<dataSourceStep>DataSource</dataSourceStep>
<targetStep>Request 1</targetStep>
<discardResults>true</discardResults>
</con:config>
</con:testStep>
<con:properties/>
<con:reportParameters/>
</con:testCase>
<con:properties/>
<con:reportParameters/>
</con:testSuite>
<con:requirements/>
<con:properties/>
<con:wssContainer/>
<con:databaseConnectionContainer/>
<con:jmsConnectionContainer/>
<con:oAuth2ProfileContainer/>
<con:oAuth1ProfileContainer/>
<con:reporting>
<con:xmlTemplates/>
<con:parameters/>
</con:reporting>
<con:eventHandlers type="RequestFilter.filterRequest" name="RequestFilter.filterRequest">
<con:script>// Sample event script to add custom HTTP header to all outgoing REST, SOAP and HTTP(S) calls
// This code is often used for adding custom authentication to ReadyAPI functional tests

// If hardcoding the token, uncomment and change line 5
// token = '4567'

// If your token is parameterized in Project level custom property, uncomment line 8
// token = request.parent.testCase.testSuite.project.getProperty('auth_token').getValue()

// To modify all outgoing calls, remove comments from lines 11 to 16
// headers = request.requestHeaders
// if (headers.containsKey('auth_token2') == false) {
// headers.put('auth_token2', token)
// request.requestHeaders = headers
// }</con:script>
</con:eventHandlers>
<con:eventHandlers type="TestRunListener.afterStep" name="TestRunListener.afterStep">
<con:script>// Save all test step results into files
// Change the directory path in line 5 to a location where you want to store details
// then uncomment lines 5 to 10

// filePath = 'C:\\tempOutputDirectory\\'
// fos = new java.io.FileOutputStream(filePath + testStepResult.testStep.label + '.txt', true)
// pw = new java.io.PrintWriter(fos)
// testStepResult.writeTo(pw)
// pw.close()
// fos.close()</con:script>
</con:eventHandlers>
<con:authRepository/>
<con:tags/>
</con:soapui-project>
Loading