From a1dd0341b395ec65f93d814b078de809ba327a36 Mon Sep 17 00:00:00 2001 From: VHofman <vincent.hofman@kereval.com> Date: Wed, 5 Jun 2024 11:39:31 +0200 Subject: [PATCH] Added the scripts for IUA and traceparent + [INTERNAL] Tags + custom properties changed --- CH-mCSD/Mcsd-soapui-0306.xml | 65 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/CH-mCSD/Mcsd-soapui-0306.xml b/CH-mCSD/Mcsd-soapui-0306.xml index ac8dc95..98c7ccd 100644 --- a/CH-mCSD/Mcsd-soapui-0306.xml +++ b/CH-mCSD/Mcsd-soapui-0306.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<con:soapui-project id="4c6bc86b-6b23-4c29-aa3b-fdd72258bb7c" activeEnvironment="Default" name="CH:mCSD" resourceRoot="" soapui-version="5.5.0" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:RestService" id="f45b2258-6720-425e-9a5a-33c606d25146" wadlVersion="http://wadl.dev.java.net/2009/02" name="mCSD" type="rest" definitionUrl="${#Project#domainName" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT"/><con:endpoints><con:endpoint>http://PCTRU2:8089/</con:endpoint></con:endpoints><con:resource name="mCSD Organization Search" path="/Organization/${#Project}" id="ab701629-8747-461a-b129-21d97c45080b"><con:settings/><con:parameters><con:parameter><con:name>Resource</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_lastUpdated</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Organization search" id="2b84ad37-78d8-4878-a898-2142ec12173d" method="GET"><con:settings/><con:parameters><con:parameter><con:name>active</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>identifier</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>name</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>partof</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>type</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_include=Organization.endpoint</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_revInclude=Location:organization</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_revInclude=OrganizationAffiliation:participating-organization</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_revInclude=OrganizationAffiliation:primary-organization</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_id</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter></con:parameters><con:request name="Organization Search" id="2dcf6689-0ce9-4ee0-92bc-ab31a9e32b11" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://interop.esante.gouv.fr/matchboxv3/fhir/resource</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +<con:soapui-project id="4c6bc86b-6b23-4c29-aa3b-fdd72258bb7c" activeEnvironment="Default" name="CH:mCSD" resourceRoot="" soapui-version="5.7.0" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:RestService" id="f45b2258-6720-425e-9a5a-33c606d25146" wadlVersion="http://wadl.dev.java.net/2009/02" name="mCSD" type="rest" definitionUrl="${#Project#domainName" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT"/><con:endpoints><con:endpoint>http://PCTRU2:8089/</con:endpoint></con:endpoints><con:resource name="mCSD Organization Search" path="/Organization/${#Project}" id="ab701629-8747-461a-b129-21d97c45080b"><con:settings/><con:parameters><con:parameter><con:name>Resource</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_lastUpdated</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Organization search" id="2b84ad37-78d8-4878-a898-2142ec12173d" method="GET"><con:settings/><con:parameters><con:parameter><con:name>active</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>identifier</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>name</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>partof</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>type</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_include=Organization.endpoint</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_revInclude=Location:organization</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_revInclude=OrganizationAffiliation:participating-organization</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_revInclude=OrganizationAffiliation:primary-organization</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter><con:parameter><con:name>_id</con:name><con:value/><con:style>QUERY</con:style><con:default/></con:parameter></con:parameters><con:request name="Organization Search" id="2dcf6689-0ce9-4ee0-92bc-ab31a9e32b11" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://interop.esante.gouv.fr/matchboxv3/fhir/resource</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="identifier" value=""/> <con:entry key="partof" value=""/> <con:entry key="_revInclude=OrganizationAffiliation:participating-organization" value=""/> @@ -29,14 +29,14 @@ <con:entry key="given" value=""/> <con:entry key="name:exact" value=""/> <con:entry key="actives" value=""/> -</con:parameters><con:parameterOrder><con:entry>actives</con:entry><con:entry>identifier</con:entry><con:entry>name:exact</con:entry><con:entry>given</con:entry><con:entry>family</con:entry></con:parameterOrder></con:request></con:method></con:resource><con:resource name="mCSD Practitioner Retrieve Error Cases" path="/Practitioner/${#Project#PractitionerIdErrorCases}" id="441d81b5-db99-4caa-a7f7-a00d096ff7f5"><con:settings/><con:parameters/><con:method name="Organization Retrieve Error Cases" id="5e52748d-c4d5-49b7-9029-fc0273c22265" method="GET"><con:settings/><con:parameters/><con:request name="Organization Retrieve Error Cases" id="29af98a3-1b1d-4746-b550-b59e361e0dd5" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method></con:resource><con:resource name="mCSD PractitionerRole Retrieve Error Cases" path="/PractitionerRole/${#Project#PractitionerRoleIdErrorCases}" id="441d81b5-db99-4caa-a7f7-a00d096ff7f5"><con:settings/><con:parameters/><con:method name="Organization Retrieve Error Cases" id="5e52748d-c4d5-49b7-9029-fc0273c22265" method="GET"><con:settings/><con:parameters/><con:request name="Organization Retrieve Error Cases" id="29af98a3-1b1d-4746-b550-b59e361e0dd5" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method></con:resource></con:interface><con:interface xsi:type="con:RestService" id="a50a29d8-3ce4-42e2-aa6a-9c19033f0067" wadlVersion="http://wadl.dev.java.net/2009/02" name="https://dev2.ihe.kereval.cloud" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart=""/><con:endpoints><con:endpoint>https://dev2.ihe.kereval.cloud</con:endpoint></con:endpoints><con:resource name="Token" path="/iua-sso/realms/ch-iua/protocol/openid-connect/token" id="0e9a22cd-2f2c-44b9-a725-1af06882290f"><con:settings/><con:parameters><con:parameter><con:name>grant_type</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>resource</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>scope</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>client_id</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>client_secret</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Token" id="e45f27db-27c6-46c7-80a2-cc46e95ab457" method="POST"><con:settings/><con:parameters/><con:representation type="FAULT"><con:mediaType>application/json</con:mediaType><con:status>400 500 401</con:status><con:params/><con:element xmlns:tok="https://dev2.ihe.kereval.cloud/iua-sso/realms/ch-iua/protocol/openid-connect/token">tok:Fault</con:element></con:representation><con:representation type="REQUEST"><con:mediaType>multipart/mixed</con:mediaType><con:params/></con:representation><con:representation type="REQUEST"><con:mediaType>multipart/form-data</con:mediaType><con:params/></con:representation><con:representation type="REQUEST"><con:mediaType>application/x-www-form-urlencoded</con:mediaType><con:params/></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:representation type="RESPONSE"><con:mediaType>application/json</con:mediaType><con:status>200</con:status><con:params/><con:element xmlns:tok="https://dev2.ihe.kereval.cloud/iua-sso/realms/ch-iua/protocol/openid-connect/token">tok: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: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="Client credentials" id="a6516024-19fc-4162-bb12-370a2263ad9a" mediaType="application/x-www-form-urlencoded" postQueryString="true"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Content-Type" value="application/x-www-form-urlencoded" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>https://dev2.ihe.kereval.cloud</con:endpoint><con:request> +</con:parameters><con:parameterOrder><con:entry>actives</con:entry><con:entry>identifier</con:entry><con:entry>name:exact</con:entry><con:entry>given</con:entry><con:entry>family</con:entry></con:parameterOrder></con:request></con:method></con:resource><con:resource name="mCSD Practitioner Retrieve Error Cases" path="/Practitioner/${#Project#PractitionerIdErrorCases}" id="441d81b5-db99-4caa-a7f7-a00d096ff7f5"><con:settings/><con:parameters/><con:method name="Organization Retrieve Error Cases" id="5e52748d-c4d5-49b7-9029-fc0273c22265" method="GET"><con:settings/><con:parameters/><con:request name="Organization Retrieve Error Cases" id="29af98a3-1b1d-4746-b550-b59e361e0dd5" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method></con:resource><con:resource name="mCSD PractitionerRole Retrieve Error Cases" path="/PractitionerRole/${#Project#PractitionerRoleIdErrorCases}" id="441d81b5-db99-4caa-a7f7-a00d096ff7f5"><con:settings/><con:parameters/><con:method name="Organization Retrieve Error Cases" id="5e52748d-c4d5-49b7-9029-fc0273c22265" method="GET"><con:settings/><con:parameters/><con:request name="Organization Retrieve Error Cases" id="29af98a3-1b1d-4746-b550-b59e361e0dd5" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method></con:resource></con:interface><con:interface xsi:type="con:RestService" id="a50a29d8-3ce4-42e2-aa6a-9c19033f0067" wadlVersion="http://wadl.dev.java.net/2009/02" name="https://dev2.ihe.kereval.cloud" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart=""/><con:endpoints><con:endpoint>https://ehealthsuisse.ihe-europe.net</con:endpoint></con:endpoints><con:resource name="Token" path="/iua-sso/realms/ch-iua/protocol/openid-connect/token" id="0e9a22cd-2f2c-44b9-a725-1af06882290f"><con:settings/><con:parameters><con:parameter><con:name>grant_type</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>resource</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>scope</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>client_id</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>client_secret</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Token" id="e45f27db-27c6-46c7-80a2-cc46e95ab457" method="POST"><con:settings/><con:parameters/><con:representation type="FAULT"><con:mediaType>application/json</con:mediaType><con:status>400 500 401</con:status><con:params/><con:element xmlns:tok="https://dev2.ihe.kereval.cloud/iua-sso/realms/ch-iua/protocol/openid-connect/token">tok:Fault</con:element></con:representation><con:representation type="REQUEST"><con:mediaType>multipart/mixed</con:mediaType><con:params/></con:representation><con:representation type="REQUEST"><con:mediaType>multipart/form-data</con:mediaType><con:params/></con:representation><con:representation type="REQUEST"><con:mediaType>application/x-www-form-urlencoded</con:mediaType><con:params/></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:representation type="RESPONSE"><con:mediaType>application/json</con:mediaType><con:status>200</con:status><con:params/><con:element xmlns:tok="https://dev2.ihe.kereval.cloud/iua-sso/realms/ch-iua/protocol/openid-connect/token">tok: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: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="Client credentials" id="a6516024-19fc-4162-bb12-370a2263ad9a" mediaType="application/x-www-form-urlencoded" postQueryString="true"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Content-Type" value="application/x-www-form-urlencoded" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>https://dev2.ihe.kereval.cloud</con:endpoint><con:request> </con:request><con:originalUri>https://dev2.ihe.kereval.cloud/iua-sso/realms/ch-iua/protocol/openid-connect/token</con:originalUri><con:credentials><con:username>ch-iua-client</con:username><con:password>vMLfCAjAa9OiuQoK21EUN66R8fbx2fxa</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:preemptive>false</con:preemptive><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="grant_type" value="client_credentials"/> <con:entry key="resource" value="https://ehealthsuisse.ihe-europe.net/CareServicesSelectiveSupplier"/> <con:entry key="scope" value="purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM"/> <con:entry key="client_secret" value="vMLfCAjAa9OiuQoK21EUN66R8fbx2fxa"/> <con:entry key="client_id" value="ch-iua-client"/> -</con:parameters><con:parameterOrder><con:entry>grant_type</con:entry><con:entry>resource</con:entry><con:entry>scope</con:entry><con:entry>client_id</con:entry><con:entry>client_secret</con:entry></con:parameterOrder></con:request></con:method></con:resource></con:interface><con:testSuite id="6597ba6a-6f79-4685-aa77-2de03c0b8533" name="Organization Normal cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="933ddffa-dc76-4660-ba64-20876ca5b877" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Organization Search & Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="Copy of AddTraceparent" id="4b738c3e-a003-4734-976b-fc01709e9cc8"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="ae187276-4cdc-42d3-89a1-3d6722c335a5"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Organization search by type" id="841b22dd-95f5-4c04-a84c-2602c1f7b136"><con:settings/><con:config service="mCSD" resourcePath="/Organization/${#Project}" methodName="Organization search" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Organization search by type" id="2dcf6689-0ce9-4ee0-92bc-ab31a9e32b11" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://interop.esante.gouv.fr/matchbox-validator/fhir/resource</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="93a774b4-0fc6-443b-85ad-426f7cdf8975" name="Invalid HTTP Status Codes"><con:configuration><codes>401,404,500, 502 ,503,504</codes></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:jmsPropertyConfig/><con:parameters> +</con:parameters><con:parameterOrder><con:entry>grant_type</con:entry><con:entry>resource</con:entry><con:entry>scope</con:entry><con:entry>client_id</con:entry><con:entry>client_secret</con:entry></con:parameterOrder></con:request></con:method></con:resource></con:interface><con:testSuite id="6597ba6a-6f79-4685-aa77-2de03c0b8533" name="Organization Normal cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="933ddffa-dc76-4660-ba64-20876ca5b877" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Organization Search & Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="4b738c3e-a003-4734-976b-fc01709e9cc8"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="ae187276-4cdc-42d3-89a1-3d6722c335a5"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Organization search by type" id="841b22dd-95f5-4c04-a84c-2602c1f7b136"><con:settings/><con:config service="mCSD" resourcePath="/Organization/${#Project}" methodName="Organization search" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Organization search by type" id="2dcf6689-0ce9-4ee0-92bc-ab31a9e32b11" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://interop.esante.gouv.fr/matchbox-validator/fhir/resource</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="93a774b4-0fc6-443b-85ad-426f7cdf8975" name="Invalid HTTP Status Codes"><con:configuration><codes>401,404,500, 502 ,503,504</codes></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:jmsPropertyConfig/><con:parameters> <con:entry key="identifier" value=""/> <con:entry key="partof" value=""/> <con:entry key="_revInclude=OrganizationAffiliation:participating-organization" value=""/> @@ -51,11 +51,11 @@ <con:entry key="_lastUpdated" value=""/> <con:entry key="Resource" value=""/> <con:entry key="_id" value="252"/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>identifier</con:name><con:value/></con:property><con:property><con:name>name</con:name><con:value/></con:property><con:property><con:name>partof</con:name><con:value/></con:property><con:property><con:name>type</con:name><con:value/></con:property><con:property><con:name>_include=Organization.endpoint</con:name><con:value/></con:property><con:property><con:name>_revInclude=Location:organization</con:name><con:value/></con:property><con:property><con:name>_revInclude=OrganizationAffiliation:participating-organization</con:name><con:value/></con:property><con:property><con:name>_revInclude=OrganizationAffiliation:primary-organization</con:name><con:value/></con:property><con:property><con:name>revceivedOrganizationId</con:name><con:value/></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite id="e1ea5535-2afb-4eb2-8f5f-aa98555d6744" name="Organization Error cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="7d775a37-8752-4050-b41f-8874c42b38d1" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Organization Search" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="Copy of AddTraceparent" id="ed2fab82-0441-4baf-aee5-8456b0446b3c"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Organization search without IUAToken" id="ef64e10d-65c3-4936-8265-c8f6be5d6ea7"><con:settings/><con:config service="mCSD" methodName="Organization search" resourcePath="/Organization/${#Project}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Organization search without IUAToken" id="197178c8-bce6-4b43-8480-4a640260ef0e" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Accept" value="application/fhir+json" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="57a848cb-737a-4441-92af-fa38f69b0ec0" name="Invalid HTTP Status Codes"><con:configuration><codes>200, 201</codes></con:configuration></con:assertion><con:assertion type="Valid HTTP Status Codes" id="cb69a207-bf10-4b4c-8fdb-4cbca48c4c16" name="Valid HTTP Status Codes"><con:configuration><codes>401</codes></con:configuration></con:assertion><con:assertion type="XPath Match" id="29956f59-b0da-4df2-bcf7-64b3a964cca5" name="Check Traceparent"><con:configuration><path/><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>identifier</con:name><con:value/></con:property><con:property><con:name>name</con:name><con:value/></con:property><con:property><con:name>partof</con:name><con:value/></con:property><con:property><con:name>type</con:name><con:value/></con:property><con:property><con:name>_include=Organization.endpoint</con:name><con:value/></con:property><con:property><con:name>_revInclude=Location:organization</con:name><con:value/></con:property><con:property><con:name>_revInclude=OrganizationAffiliation:participating-organization</con:name><con:value/></con:property><con:property><con:name>_revInclude=OrganizationAffiliation:primary-organization</con:name><con:value/></con:property><con:property><con:name>revceivedOrganizationId</con:name><con:value/></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite id="e1ea5535-2afb-4eb2-8f5f-aa98555d6744" name="Organization Error cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="7d775a37-8752-4050-b41f-8874c42b38d1" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Organization Search" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="ed2fab82-0441-4baf-aee5-8456b0446b3c"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Organization search without IUAToken" id="ef64e10d-65c3-4936-8265-c8f6be5d6ea7"><con:settings/><con:config service="mCSD" methodName="Organization search" resourcePath="/Organization/${#Project}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Organization search without IUAToken" id="197178c8-bce6-4b43-8480-4a640260ef0e" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Accept" value="application/fhir+json" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="57a848cb-737a-4441-92af-fa38f69b0ec0" name="Invalid HTTP Status Codes"><con:configuration><codes>200, 201</codes></con:configuration></con:assertion><con:assertion type="Valid HTTP Status Codes" id="cb69a207-bf10-4b4c-8fdb-4cbca48c4c16" name="Valid HTTP Status Codes"><con:configuration><codes>401</codes></con:configuration></con:assertion><con:assertion type="XPath Match" id="29956f59-b0da-4df2-bcf7-64b3a964cca5" name="Check Traceparent"><con:configuration><path/><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="_lastUpdated" value=""/> <con:entry key="Resource" value=""/> <con:entry key="_id" value=""/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="calltestcase" name="Copy of GetAccessTokenIUA" id="ced14076-00f8-45db-8a5e-5b18a3dbbfbc"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Organization with bad IUAtoken" id="7a5db14b-9b68-406b-81f0-c8b4737fc421"><con:settings/><con:config service="mCSD" methodName="Organization search" resourcePath="/Organization/${#Project}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Organization with bad IUAtoken" id="5ee59648-2419-4d61-a0da-c1f568b80e04" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}+1" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="be29beb9-1ac9-434b-ad44-5d3abfb5279e" name="Invalid HTTP Status Codes"><con:configuration><codes>400</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="ced14076-00f8-45db-8a5e-5b18a3dbbfbc"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Organization with bad IUAtoken" id="7a5db14b-9b68-406b-81f0-c8b4737fc421"><con:settings/><con:config service="mCSD" methodName="Organization search" resourcePath="/Organization/${#Project}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Organization with bad IUAtoken" id="5ee59648-2419-4d61-a0da-c1f568b80e04" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}+1" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="be29beb9-1ac9-434b-ad44-5d3abfb5279e" name="Invalid HTTP Status Codes"><con:configuration><codes>400</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="_lastUpdated" value=""/> <con:entry key="Resource" value=""/> <con:entry key="_id" value=""/> @@ -67,11 +67,11 @@ <con:entry key="_lastUpdated" value="11/12/2010"/> <con:entry key="Resource" value=""/> <con:entry key="_id" value=""/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="3b4d74b6-8168-4a73-a8d1-bbebe801a7a0" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Organization Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="AddTraceparent" id="855dbca7-d55c-4a66-a14a-85de2c38a314"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="5f651749-dd27-48bd-b98b-ded49ecdad58"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Oganization with bad id" id="debaf0eb-c9af-4621-b69b-86695588b7c8"><con:settings/><con:config service="mCSD" methodName="Organization Retrieve" resourcePath="/Organization/${#Project#OrganizationId}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Oganization with bad id" id="f1c32262-0643-4a84-9274-b12e1042ef93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="37caff56-94da-4d1b-a613-61b3d0598bbb" name="Invalid HTTP Status Codes"><con:configuration><codes>201 +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="3b4d74b6-8168-4a73-a8d1-bbebe801a7a0" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Organization Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="855dbca7-d55c-4a66-a14a-85de2c38a314"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="5f651749-dd27-48bd-b98b-ded49ecdad58"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Oganization with bad id" id="debaf0eb-c9af-4621-b69b-86695588b7c8"><con:settings/><con:config service="mCSD" methodName="Organization Retrieve" resourcePath="/Organization/${#Project#OrganizationId}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Oganization with bad id" id="f1c32262-0643-4a84-9274-b12e1042ef93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="37caff56-94da-4d1b-a613-61b3d0598bbb" name="Invalid HTTP Status Codes"><con:configuration><codes>201 </codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="_lastUpdated" value=""/> <con:entry key="_id" value=""/> -</con:parameters><con:parameterOrder><con:entry>Resource</con:entry><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite id="edfb4673-4f35-49aa-893b-8c7c1021127e" name="Practitioner Normal cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="974403ee-361a-4cb3-a409-272038c8de3b" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Practitioner Search and Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="00ae9c91-00b1-4766-852c-ff89d991e4df"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="AddTraceparent" id="df3ecff9-96a9-496f-a7cf-e2f2f7ab5cd3"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner search by status and exact name" id="c3bf99fd-d454-4142-be95-6a3af15d50e1"><con:settings/><con:config service="mCSD" resourcePath="/Practitioner" methodName="Practitioner search" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner search by status and exact name" id="4153fd6a-725d-44c4-933c-e56a5d944ac8" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Practitioner</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="cd30ec61-6e46-45dd-b8d9-e14545245907" name="Invalid HTTP Status Codes"><con:configuration><codes>401,404 +</con:parameters><con:parameterOrder><con:entry>Resource</con:entry><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite id="edfb4673-4f35-49aa-893b-8c7c1021127e" name="Practitioner Normal cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="974403ee-361a-4cb3-a409-272038c8de3b" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Practitioner Search and Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="00ae9c91-00b1-4766-852c-ff89d991e4df"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="df3ecff9-96a9-496f-a7cf-e2f2f7ab5cd3"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner search by status and exact name" id="c3bf99fd-d454-4142-be95-6a3af15d50e1"><con:settings/><con:config service="mCSD" resourcePath="/Practitioner" methodName="Practitioner search" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner search by status and exact name" id="4153fd6a-725d-44c4-933c-e56a5d944ac8" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Practitioner</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="cd30ec61-6e46-45dd-b8d9-e14545245907" name="Invalid HTTP Status Codes"><con:configuration><codes>401,404 </codes></con:configuration></con:assertion><con:assertion type="Valid HTTP Status Codes" id="15cac726-fd35-419e-b31e-c027f46cf94d" name="Valid HTTP Status Codes"><con:configuration><codes>201,200 </codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> @@ -79,7 +79,7 @@ <con:entry key="given" value=""/> <con:entry key="name:exact" value="Andrews"/> <con:entry key="active" value="true"/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name:exact</con:entry><con:entry>given</con:entry><con:entry>family</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner retrieve" id="b889635f-4bc5-409d-9130-76dd53dd7f42"><con:settings/><con:config service="mCSD" methodName="Practitioner Retrieve" resourcePath="/Practitioner/${#Project#PractitionerId}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner retrieve" id="bc517708-dcd1-4907-b8a4-40b86a1b1019" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/254</con:originalUri><con:assertion type="Valid HTTP Status Codes" id="dc3712cc-ae9c-4e1a-9f6f-3f30242731ee" name="Valid HTTP Status Codes"><con:configuration><codes>200,201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>identifier</con:name><con:value/></con:property><con:property><con:name>name</con:name><con:value/></con:property><con:property><con:name>given</con:name><con:value/></con:property><con:property><con:name>family</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite id="9f28c8ef-464a-4de8-a19e-91886f90307e" name="Practitioner Error cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="8c695f81-8539-43fa-919b-ed6d15794f06" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Practitioner Search" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="b784ace8-19a1-4cfb-a22d-8677b32ffcff"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="AddTraceparent" id="95bb0c2f-31c0-4e9f-bc19-dfecbe6f7d8d"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner with non existant name" id="d493097c-019a-4433-b7cf-9c7383bfa948"><con:settings/><con:config service="mCSD" methodName="Practitioner search" resourcePath="/Practitioner" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner with non existant name" id="114fc32b-277b-4cd9-96fb-0331014bb94b" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="8cacbafe-fa4b-4c70-9772-510aac426cfb" name="Invalid HTTP Status Codes"><con:configuration><codes>201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name:exact</con:entry><con:entry>given</con:entry><con:entry>family</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner retrieve" id="b889635f-4bc5-409d-9130-76dd53dd7f42"><con:settings/><con:config service="mCSD" methodName="Practitioner Retrieve" resourcePath="/Practitioner/${#Project#PractitionerId}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner retrieve" id="bc517708-dcd1-4907-b8a4-40b86a1b1019" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/254</con:originalUri><con:assertion type="Valid HTTP Status Codes" id="dc3712cc-ae9c-4e1a-9f6f-3f30242731ee" name="Valid HTTP Status Codes"><con:configuration><codes>200,201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>identifier</con:name><con:value/></con:property><con:property><con:name>name</con:name><con:value/></con:property><con:property><con:name>given</con:name><con:value/></con:property><con:property><con:name>family</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite id="9f28c8ef-464a-4de8-a19e-91886f90307e" name="Practitioner Error cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="8c695f81-8539-43fa-919b-ed6d15794f06" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Practitioner Search" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="b784ace8-19a1-4cfb-a22d-8677b32ffcff"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="95bb0c2f-31c0-4e9f-bc19-dfecbe6f7d8d"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner with non existant name" id="d493097c-019a-4433-b7cf-9c7383bfa948"><con:settings/><con:config service="mCSD" methodName="Practitioner search" resourcePath="/Practitioner" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner with non existant name" id="114fc32b-277b-4cd9-96fb-0331014bb94b" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="8cacbafe-fa4b-4c70-9772-510aac426cfb" name="Invalid HTTP Status Codes"><con:configuration><codes>201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="name:exact" value="abc"/> <con:entry key="_lastUpdated" value="11/12/2010"/> <con:entry key="Resource" value=""/> @@ -91,23 +91,23 @@ <con:entry key="Resource" value=""/> <con:entry key="_id" value=""/> <con:entry key="actives" value="true"/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="d7a2465d-ffa5-45e4-9aa0-d3568cfac8ab" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Practitioner Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="AddTraceparent" id="e7f558d7-09ea-4006-acc6-b4262ea540f6"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="Copy of Copy of GetAccessTokenIUA" id="cf12d721-157d-42a8-ac02-548baa19d4c9"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Oganization with bad id" id="b0153ba1-3151-4710-9bea-1236f746692a"><con:settings/><con:config service="mCSD" methodName="Practitioner Retrieve" resourcePath="/Practitioner/${#Project#PractitionerId}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Oganization with bad id" id="f1c32262-0643-4a84-9274-b12e1042ef93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Practitioner/253</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="37caff56-94da-4d1b-a613-61b3d0598bbb" name="Invalid HTTP Status Codes"><con:configuration><codes>201 +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>Resource</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="d7a2465d-ffa5-45e4-9aa0-d3568cfac8ab" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Practitioner Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="e7f558d7-09ea-4006-acc6-b4262ea540f6"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="cf12d721-157d-42a8-ac02-548baa19d4c9"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Practitioner with bad id" id="b0153ba1-3151-4710-9bea-1236f746692a"><con:settings/><con:config service="mCSD" methodName="Practitioner Retrieve" resourcePath="/Practitioner/${#Project#PractitionerId}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Oganization with bad id" id="f1c32262-0643-4a84-9274-b12e1042ef93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Practitioner/253</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="37caff56-94da-4d1b-a613-61b3d0598bbb" name="Invalid HTTP Status Codes"><con:configuration><codes>201 </codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="_lastUpdated" value=""/> <con:entry key="_id" value=""/> -</con:parameters><con:parameterOrder><con:entry>Resource</con:entry><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>identifier</con:name><con:value/></con:property><con:property><con:name>name</con:name><con:value/></con:property><con:property><con:name>given</con:name><con:value/></con:property><con:property><con:name>family</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite id="c297ec46-f800-4d83-a7ec-fe392295bccf" name="PractitionerRole Normal cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="d641d9b7-243c-41bf-b721-8bf095664250" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PractitionerRole Search and Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="617b824f-913f-4a78-87bf-4ad9234ce3fa"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="AddTraceparent" id="68e7cdf8-7a73-4be0-a378-fe6b5b85f3de"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole Search" id="539a988a-d5ad-409f-9ad4-114223adc503"><con:settings/><con:config service="mCSD" methodName="PractitionerRole Search" resourcePath="/PractitionerRole" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="PractitionerRole Search" id="1c9719a3-5fa1-4b39-b252-d08e235f8af4" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>http://PCTRU2/PractitionerRole</con:originalUri><con:assertion type="Valid HTTP Status Codes" id="9a0afec2-11ac-4669-9031-ba37decdc2fb" name="Valid HTTP Status Codes"><con:configuration><codes>200,201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +</con:parameters><con:parameterOrder><con:entry>Resource</con:entry><con:entry>active</con:entry><con:entry>identifier</con:entry><con:entry>name</con:entry><con:entry>partof</con:entry><con:entry>type</con:entry><con:entry>_include=Organization.endpoint</con:entry><con:entry>_revInclude=Location:organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:participating-organization</con:entry><con:entry>_revInclude=OrganizationAffiliation:primary-organization</con:entry><con:entry>_id</con:entry><con:entry>_lastUpdated</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>identifier</con:name><con:value/></con:property><con:property><con:name>name</con:name><con:value/></con:property><con:property><con:name>given</con:name><con:value/></con:property><con:property><con:name>family</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite id="c297ec46-f800-4d83-a7ec-fe392295bccf" name="PractitionerRole Normal cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="d641d9b7-243c-41bf-b721-8bf095664250" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PractitionerRole Search and Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="617b824f-913f-4a78-87bf-4ad9234ce3fa"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="68e7cdf8-7a73-4be0-a378-fe6b5b85f3de"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole Search" id="539a988a-d5ad-409f-9ad4-114223adc503"><con:settings/><con:config service="mCSD" methodName="PractitionerRole Search" resourcePath="/PractitionerRole" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="PractitionerRole Search" id="1c9719a3-5fa1-4b39-b252-d08e235f8af4" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>http://PCTRU2/PractitionerRole</con:originalUri><con:assertion type="Valid HTTP Status Codes" id="9a0afec2-11ac-4669-9031-ba37decdc2fb" name="Valid HTTP Status Codes"><con:configuration><codes>200,201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="_include" value="PractitionerRole:practitioner"/> <con:entry key="organization.active" value="true"/> <con:entry key="specialty" value=""/> <con:entry key="practitioner.name" value="Hans"/> </con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>location</con:entry><con:entry>organization</con:entry><con:entry>practitioner.name</con:entry><con:entry>role</con:entry><con:entry>service</con:entry><con:entry>specialty</con:entry><con:entry>_include</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole retrieve" id="0982d05c-529f-4671-b68c-4641ce9ac02e"><con:settings/><con:config service="mCSD" resourcePath="/PractitionerRole/${#Project#PractitionerRoleId}" methodName="PractitionerRole Retrieve" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="PractitionerRole retrieve" id="29af98a3-1b1d-4746-b550-b59e361e0dd5" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization/252</con:originalUri><con:assertion type="Valid HTTP Status Codes" id="97e78a6f-b6ae-47b2-a838-16bdf1d51d60" name="Valid HTTP Status Codes"><con:configuration><codes>200,201 -</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>location</con:name><con:value/></con:property><con:property><con:name>organization</con:name><con:value/></con:property><con:property><con:name>practitioner</con:name><con:value/></con:property><con:property><con:name>role</con:name><con:value/></con:property><con:property><con:name>service</con:name><con:value/></con:property><con:property><con:name>speciality</con:name><con:value/></con:property><con:property><con:name>_include=PractitionerRole:practitioner</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite id="dc76815d-16c7-4a45-ad8c-481215a51538" name="PractitionerRole Error cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="1ffdde26-0a54-4fe6-a723-da19a0771290" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PractitionerRole Search" searchProperties="true"><con:settings/><con:testStep type="restrequest" name="Practitioner search without IUAToken" id="077ce0cb-4424-43b6-8730-1168531d6499"><con:settings/><con:config service="mCSD" methodName="PractitionerRole Search" resourcePath="/PractitionerRole" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner search without IUAToken" id="197178c8-bce6-4b43-8480-4a640260ef0e" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Accept" value="application/fhir+json" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="57a848cb-737a-4441-92af-fa38f69b0ec0" name="Invalid HTTP Status Codes"><con:configuration><codes>200, 201</codes></con:configuration></con:assertion><con:assertion type="Valid HTTP Status Codes" id="cb69a207-bf10-4b4c-8fdb-4cbca48c4c16" name="Valid HTTP Status Codes"><con:configuration><codes>401</codes></con:configuration></con:assertion><con:assertion type="XPath Match" id="29956f59-b0da-4df2-bcf7-64b3a964cca5" name="Check Traceparent"><con:configuration><path/><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:properties><con:property><con:name>active</con:name><con:value/></con:property><con:property><con:name>location</con:name><con:value/></con:property><con:property><con:name>organization</con:name><con:value/></con:property><con:property><con:name>practitioner</con:name><con:value/></con:property><con:property><con:name>role</con:name><con:value/></con:property><con:property><con:name>service</con:name><con:value/></con:property><con:property><con:name>speciality</con:name><con:value/></con:property><con:property><con:name>_include=PractitionerRole:practitioner</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite id="dc76815d-16c7-4a45-ad8c-481215a51538" name="PractitionerRole Error cases"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="1ffdde26-0a54-4fe6-a723-da19a0771290" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PractitionerRole Search" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="da887bea-7ec1-4726-a563-60e2464452a2"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole search without IUAToken" id="077ce0cb-4424-43b6-8730-1168531d6499"><con:settings/><con:config service="mCSD" methodName="PractitionerRole Search" resourcePath="/PractitionerRole" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Practitioner search without IUAToken" id="197178c8-bce6-4b43-8480-4a640260ef0e" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Accept" value="application/fhir+json" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="57a848cb-737a-4441-92af-fa38f69b0ec0" name="Invalid HTTP Status Codes"><con:configuration><codes>200, 201</codes></con:configuration></con:assertion><con:assertion type="Valid HTTP Status Codes" id="cb69a207-bf10-4b4c-8fdb-4cbca48c4c16" name="Valid HTTP Status Codes"><con:configuration><codes>401</codes></con:configuration></con:assertion><con:assertion type="XPath Match" id="29956f59-b0da-4df2-bcf7-64b3a964cca5" name="Check Traceparent"><con:configuration><path/><content/><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="organization." value=""/> <con:entry key="_lastUpdated" value=""/> <con:entry key="Resource" value=""/> <con:entry key="_id" value=""/> <con:entry key="practitioner.name" value=""/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>location</con:entry><con:entry>organization.</con:entry><con:entry>practitioner.name</con:entry><con:entry>role</con:entry><con:entry>service</con:entry><con:entry>specialty</con:entry><con:entry>_include</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="f25a4e7d-e0b9-4c06-b132-cec5ec4769f0"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="AddTraceparent" id="da887bea-7ec1-4726-a563-60e2464452a2"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole with non existant active" id="789f4521-6b82-4009-80cc-34e792a2fd57"><con:settings/><con:config service="mCSD" methodName="PractitionerRole Search" resourcePath="/PractitionerRole" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="PractitionerRole with non existant active" id="114fc32b-277b-4cd9-96fb-0331014bb94b" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="8cacbafe-fa4b-4c70-9772-510aac426cfb" name="Invalid HTTP Status Codes"><con:configuration><codes>201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>location</con:entry><con:entry>organization.</con:entry><con:entry>practitioner.name</con:entry><con:entry>role</con:entry><con:entry>service</con:entry><con:entry>specialty</con:entry><con:entry>_include</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="f25a4e7d-e0b9-4c06-b132-cec5ec4769f0"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole with non existant active" id="789f4521-6b82-4009-80cc-34e792a2fd57"><con:settings/><con:config service="mCSD" methodName="PractitionerRole Search" resourcePath="/PractitionerRole" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="PractitionerRole with non existant active" id="114fc32b-277b-4cd9-96fb-0331014bb94b" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="Bearer ${#Project#accessTokenIUA}" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir/Organization</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="8cacbafe-fa4b-4c70-9772-510aac426cfb" name="Invalid HTTP Status Codes"><con:configuration><codes>201</codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="speciality" value="&< "/> <con:entry key="name:exact" value="abc"/> <con:entry key="organization." value=""/> @@ -116,7 +116,7 @@ <con:entry key="active" value="g1"/> <con:entry key="_id" value=""/> <con:entry key="practitioner.name" value=""/> -</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>location</con:entry><con:entry>organization.</con:entry><con:entry>practitioner.name</con:entry><con:entry>role</con:entry><con:entry>service</con:entry><con:entry>specialty</con:entry><con:entry>_include</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="e2ace094-de8d-4c69-a6fd-e4e7198f905f" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PractitionerRole Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="AddTraceparent" id="b35a1bb0-bf36-49c7-a4e3-4cde1f26cedd"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="GetAccessTokenIUA" id="439d8a00-0886-4e71-b647-d0085b1632d0"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="Oganization with bad id" id="cfbc85a1-8de5-4d44-bee3-55d5b3a718e6"><con:settings/><con:config service="mCSD" methodName="Organization Retrieve Error Cases" resourcePath="/PractitionerRole/${#Project#PractitionerRoleIdErrorCases}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Oganization with bad id" id="f1c32262-0643-4a84-9274-b12e1042ef93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="37caff56-94da-4d1b-a613-61b3d0598bbb" name="Invalid HTTP Status Codes"><con:configuration><codes>201 +</con:parameters><con:parameterOrder><con:entry>active</con:entry><con:entry>location</con:entry><con:entry>organization.</con:entry><con:entry>practitioner.name</con:entry><con:entry>role</con:entry><con:entry>service</con:entry><con:entry>specialty</con:entry><con:entry>_include</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="e2ace094-de8d-4c69-a6fd-e4e7198f905f" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="PractitionerRole Retrieve" searchProperties="true"><con:settings/><con:testStep type="calltestcase" name="[INTERNAL] AddTraceparent" id="b35a1bb0-bf36-49c7-a4e3-4cde1f26cedd"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>51ad7400-6d0e-4874-8a2b-aab8dd587b65</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="calltestcase" name="[INTERNAL] GetAccessTokenIUA" id="439d8a00-0886-4e71-b647-d0085b1632d0"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>66caafa7-0db9-4db2-ab06-4e7d584bfbea</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="restrequest" name="PractitionerRole with bad id" id="cfbc85a1-8de5-4d44-bee3-55d5b3a718e6"><con:settings/><con:config service="mCSD" methodName="Organization Retrieve Error Cases" resourcePath="/PractitionerRole/${#Project#PractitionerRoleIdErrorCases}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Oganization with bad id" id="f1c32262-0643-4a84-9274-b12e1042ef93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#domainName}</con:endpoint><con:request/><con:originalUri>https://acceptance.ihe-catalyst.net/matchbox/fhir</con:originalUri><con:assertion type="Invalid HTTP Status Codes" id="37caff56-94da-4d1b-a613-61b3d0598bbb" name="Invalid HTTP Status Codes"><con:configuration><codes>201 </codes></con:configuration></con:assertion><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> <con:entry key="_lastUpdated" value=""/> <con:entry key="_id" value=""/> @@ -127,29 +127,28 @@ <con:entry key="scope" value="${#Project#scopeBasicIUA}"/> <con:entry key="client_secret" value="${#Project#client_secretIUA}"/> <con:entry key="client_id" value="${#Project#client_idIUA}"/> -</con:parameters><con:parameterOrder><con:entry>grant_type</con:entry><con:entry>resource</con:entry><con:entry>scope</con:entry><con:entry>client_id</con:entry><con:entry>client_secret</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="groovy" name="StoreIUAToken" id="10c3a475-e2a6-4298-8204-f11b481d9d4f"><con:settings/><con:config><script>import groovy.json.JsonSlurper +</con:parameters><con:parameterOrder><con:entry>grant_type</con:entry><con:entry>resource</con:entry><con:entry>scope</con:entry><con:entry>client_id</con:entry><con:entry>client_secret</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="groovy" name="StoreIUAToken" id="10c3a475-e2a6-4298-8204-f11b481d9d4f"><con:settings/><con:config><script>import groovy.json.JsonSlurper -def response = testRunner.testCase.getTestStepByName("IUA-GetAccessToken").getPropertyValue("Response") +def response = testRunner.testCase.getTestStepByName("IUA-GetAccessToken").getPropertyValue("Response") -def jsonSlurper = new JsonSlurper() -def accessToken = jsonSlurper.parseText(response).access_token +def jsonSlurper = new JsonSlurper() -//log.info(accessToken) -testRunner.testCase.testSuite.project.setPropertyValue("accessTokenIUA", accessToken)</script></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="51ad7400-6d0e-4874-8a2b-aab8dd587b65" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Traceparent" searchProperties="true"><con:settings/><con:testStep type="groovy" name="generateTraceparent" id="dcb41986-22af-4dc4-bc1d-6383cebf74a0"><con:settings/><con:config><script>def generateLongHex() -{ - def longHex = Long.toUnsignedString(new Random().nextLong(), 16).toLowerCase() - return longHex +Map parsedJson = jsonSlurper.parseText(response) + +String accessToken = parsedJson.get("access_token") + +//log.info(accessToken) +testRunner.testCase.testSuite.project.setPropertyValue("accessTokenIUA", accessToken)</script></con:config></con:testStep><con:properties/></con:testCase><con:testCase id="51ad7400-6d0e-4874-8a2b-aab8dd587b65" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="Traceparent" searchProperties="true"><con:settings/><con:testStep type="groovy" name="generateTraceparent" id="dcb41986-22af-4dc4-bc1d-6383cebf74a0"><con:settings/><con:config><script>import java.util.UUID +import java.util.regex.Pattern + +def generateHex() { + def key= UUID.randomUUID().toString().replaceAll("-", "") + return key } -//version -def traceparent = "00-" -//version-format / trace-id -traceparent = traceparent.concat(generateLongHex()).concat(generateLongHex()).concat("-") -//version-format / parent-id -traceparent = traceparent.concat(generateLongHex()).concat("-") -//version-format / trace-flags -traceparent = traceparent.concat("00") +def traceparent = "00-" + generateHex().substring(0, 32) + "-" + generateHex().substring(0, 16) + "-00" -//log.info traceparent -testRunner.testCase.testSuite.project.setPropertyValue("traceparent", traceparent) -</script></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>domainName</con:name><con:value>https://acceptance.ihe-catalyst.net/matchbox/fhir</con:value></con:property><con:property><con:name>authorizationServerDomainName</con:name><con:value>https://dev2.ihe.kereval.cloud</con:value></con:property><con:property><con:name>resourceIUA</con:name><con:value>https://ehealthsuisse.ihe-europe.net/CareServicesSelectiveSupplier</con:value></con:property><con:property><con:name>scopeBasicIUA</con:name><con:value>purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM</con:value></con:property><con:property><con:name>client_idIUA</con:name><con:value>ch-iua-client</con:value></con:property><con:property><con:name>client_secretIUA</con:name><con:value>vMLfCAjAa9OiuQoK21EUN66R8fbx2fxa</con:value></con:property><con:property><con:name>accessTokenIUA</con:name><con:value>eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJfdlRha0N0QWF1LTg3Q1ozOTJFbFNPQmoxQnRpNVJQWG5WNTJGQUd2V1FFIn0.eyJleHAiOjE3MTM5NDIyMTAsImlhdCI6MTcxMzk0MTkxMCwianRpIjoiM2FlZjk2NzEtMDE0ZS00MTE4LTgyNGEtYjhiM2ExNWM4M2YyIiwiaXNzIjoiaHR0cHM6Ly9kZXYyLmloZS5rZXJldmFsLmNsb3VkL2l1YS1zc28vcmVhbG1zL2NoLWl1YSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI1ODgzMTMxNS1hMmI4LTQ1NmItOTU4NC1jZjgwMmRiOTg0OWIiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJjaC1pdWEtY2xpZW50IiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyIvKiJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZGVmYXVsdC1yb2xlcy1jaC1pdWEiLCJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJwdXJwb3NlX29mX3VzZT11cm46b2lkOjIuMTYuNzU2LjUuMzAuMS4xMjcuMy4xMC41fE5PUk0gcHJvZmlsZSBlbWFpbCIsImV4dGVuc2lvbnMiOnsiY2hfZXByIjp7InVzZXJfaWRfcXVhbGlmaWVyIjoidXJuOmdzMTpnbG4ifSwiaWhlX2l1YSI6eyJwdXJwb3NlX29mX3VzZSI6eyJjb2RlIjoiTk9STSIsInN5c3RlbSI6InVybjpvaWQ6Mi4xNi43NTYuNS4zMC4xLjEyNy4zLjEwLjUifX19LCJjbGllbnRJZCI6ImNoLWl1YS1jbGllbnQiLCJjbGllbnRIb3N0IjoiMTMwLjkzLjI2LjEwMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LWNoLWl1YS1jbGllbnQiLCJjbGllbnRBZGRyZXNzIjoiMTMwLjkzLjI2LjEwMiJ9.TzXGLQU_2UAuxA_t6J25YOR8Lb9BcG2-qB9sBBGTL6PY4-DipTPIeqQsKrRGjVX0hEjilHv6b11ZdZkGT0bPphF1elGV1elfiC6T5eL4ev0bHqp1wazOfkmTE0S3IZBUEcDTYFFte2SugsOQfKZsWB7TxJNVqRQSjrHAZz7bikDDAZHe_goYL8qpyXBpVt50uk8ubSmTvlraQbP3T3W3v2kxvAU1eidlQ9cKTYQpr3m_Rpg0mu0L9ZzEKkVMp8OoewfnjXDmAO-fBEzb0qp7csg1P9K_RPUL6LFczHCCqtqoeqx42qELzC1Nj79XCOhjvv8nFVopTOX0VfPVTOpWLA</con:value></con:property><con:property><con:name>OrganizationId</con:name><con:value>257</con:value></con:property><con:property><con:name>PractitionerId</con:name><con:value>258</con:value></con:property><con:property><con:name>PractitionerRoleId</con:name><con:value>262</con:value></con:property><con:property><con:name>OrganizationIdErrorCases</con:name><con:value>A&&2é1</con:value></con:property><con:property><con:name>traceparent</con:name><con:value>00-9e45d6f10b1d920df57cb3de3af22fcc-8a85a59161606107-00</con:value></con:property><con:property><con:name>PractitionerIdErrorCases</con:name><con:value>- 10 /</con:value></con:property><con:property><con:name>PractitionerRoleIdErrorCases</con:name><con:value>- 11 /</con:value></con:property></con:properties><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:sensitiveInformation/></con:soapui-project> \ No newline at end of file +//log.info(traceparent) +testRunner.testCase.testSuite.project.setPropertyValue("traceparent", traceparent); +def pattern = Pattern.compile("^00-[a-fA-F0-9]{32}-[a-fA-F0-9]{16}-00\$") +assert pattern.matcher(traceparent).matches() : "Generated traceparent does not correspond to the expected result"</script></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>domainName</con:name><con:value>https://ehealthsuisse.ihe-europe.net/mcsd-simulator/fhir/ch/</con:value></con:property><con:property><con:name>authorizationServerDomainName</con:name><con:value>https://ehealthsuisse.ihe-europe.net</con:value></con:property><con:property><con:name>resourceIUA</con:name><con:value>https://ehealthsuisse.ihe-europe.net/mcsd-simulator</con:value></con:property><con:property><con:name>scopeBasicIUA</con:name><con:value>purpose_of_use=urn:oid:2.16.756.5.30.1.127.3.10.5|NORM</con:value></con:property><con:property><con:name>client_idIUA</con:name><con:value>ch-iua-client</con:value></con:property><con:property><con:name>client_secretIUA</con:name><con:value>vMLfCAjAa9OiuQoK21EUN66R8fbx2fxa</con:value></con:property><con:property><con:name>accessTokenIUA</con:name><con:value>WILL_BE_ERASED</con:value></con:property><con:property><con:name>traceparent</con:name><con:value>WILL_BE_ERASED</con:value></con:property><con:property><con:name>OrganizationId</con:name><con:value>257</con:value></con:property><con:property><con:name>PractitionerId</con:name><con:value>258</con:value></con:property><con:property><con:name>PractitionerRoleId</con:name><con:value>262</con:value></con:property><con:property><con:name>OrganizationIdErrorCases</con:name><con:value>A&&2é1</con:value></con:property><con:property><con:name>PractitionerIdErrorCases</con:name><con:value>- 10 /</con:value></con:property><con:property><con:name>PractitionerRoleIdErrorCases</con:name><con:value>- 11 /</con:value></con:property></con:properties><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:sensitiveInformation/></con:soapui-project> \ No newline at end of file -- GitLab