-
Notifications
You must be signed in to change notification settings - Fork 14
/
ready-websocket-plugin-soapui-project.xml
81 lines (81 loc) · 19.7 KB
/
ready-websocket-plugin-soapui-project.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="5e871d76-59b2-469f-8b50-884412b8247e" activeEnvironment="Default environment" name="ready-websocket-plugin" resourceRoot="" soapui-version="5.7.2" abortOnError="false" runType="SEQUENTIAL" encryptionMode="Not encrypted" projectVersion="" updated="3.53.0 2024-05-13T12:06:25Z" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="WebSocketConnections"><![CDATA[<xml-fragment>
<Connection>
<Name>sample echo</Name>
<ServerURI>ws://localhost:8080/echo/websocket</ServerURI>
</Connection>
<Connection>
<Name>sample stream</Name>
<ServerURI>ws://localhost:8080/stream/websocket</ServerURI>
</Connection>
<Connection>
<Name>sample hello</Name>
<ServerURI>ws://localhost:8080/hello/websocket</ServerURI>
</Connection>
<Connection>
<Name>echo.websocket.org</Name>
<ServerURI>wss://echo.websocket.org</ServerURI>
</Connection>
<Connection>
<Name>sample code</Name>
<ServerURI>ws://localhost:8080/code/websocket</ServerURI>
</Connection>
</xml-fragment>]]></con:setting><con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config">
<con:entry key="Report Format(s)" value=""/>
<con:entry key="Host:Port" value=""/>
<con:entry key="Export JUnit Results" value="false"/>
<con:entry key="Export All" value="false"/>
<con:entry key="Save After" value="false"/>
<con:entry key="Add Settings" value="false"/>
<con:entry key="WSS Password Type" value=""/>
<con:entry key="TestSuite" value="<all>"/>
<con:entry key="Endpoint" value=""/>
<con:entry key="Select Report Type" value=""/>
<con:entry key="System Properties" value=""/>
<con:entry key="Password" value=""/>
<con:entry key="Print Report" value="false"/>
<con:entry key="Open Report" value="false"/>
<con:entry key="Global Properties" value=""/>
<con:entry key="Project Properties" value=""/>
<con:entry key="Project Password" value=""/>
<con:entry key="TestCase" value="<all>"/>
<con:entry key="Username" value=""/>
<con:entry key="user-settings.xml Password" value=""/>
<con:entry key="TestRunner Path" value=""/>
<con:entry key="Environment" value="Default"/>
<con:entry key="Coverage Report" value="false"/>
<con:entry key="Enable UI" value="false"/>
<con:entry key="Root Folder" value=""/>
<con:entry key="Ignore Errors" value="false"/>
<con:entry key="Domain" value=""/>
<con:entry key="Tool Args" value=""/>
<con:entry key="Save Project" value="false"/>
</xml-fragment>]]></con:setting></con:settings><con:testSuite id="023355be-a506-4a43-b29d-4e02bdd7123f" name="ready-websocket-plugin"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="71c499f8-1368-47bd-bc78-80e24a436ff1" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="echo.websocket.org" searchProperties="true"><con:settings><con:setting id="com.smartbear.ready.history.view.SoapUITransactionLogView$OptionsForm@disable_log">false</con:setting><con:setting id="com.smartbear.ready.history.view.SoapUITransactionLogView$OptionsForm@errors_only">false</con:setting><con:setting id="com.smartbear.ready.history.view.SoapUITransactionLogView$OptionsForm@follow">true</con:setting><con:setting id="IncludeOverview">true</con:setting><con:setting id="IncludeResults">true</con:setting><con:setting id="FlowLayout">false</con:setting><con:setting id="ErrorDetails">true</con:setting><con:setting id="IncludeCoverage">true</con:setting></con:settings><con:testStep type="websocketPublishTestStep" name="Publish using Websocket" id="c627ec6b-68fa-4ea5-a00a-f797a9394029"><con:settings/><con:config><ConnectionName>echo.websocket.org</ConnectionName><Timeout>0</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><MessageKind>Json</MessageKind><Message>{
"key" : "value"
}</Message></con:config></con:testStep><con:testStep type="WebsocketReceiveTestStep" name="Receive Websocket Message" id="544deb0f-4897-42d0-b1d6-eb1e3373956c"><con:settings/><con:config><ConnectionName>echo.websocket.org</ConnectionName><Timeout>60000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><ExpectedMessageType>Text</ExpectedMessageType><MaxMessageCount>0</MaxMessageCount><assertion type="JsonPath Match" id="eea3f5cc-4446-48ef-8eb6-dcd57c310ca6" name="JsonPath Match">
<con:configuration>
<path>key</path>
<content>value</content>
<allowWildcards>false</allowWildcards>
<ignoreNamspaceDifferences>false</ignoreNamspaceDifferences>
<ignoreComments>false</ignoreComments>
</con:configuration>
</assertion></con:config></con:testStep><con:testStep type="WebsocketDropConnectionTestStep" name="Drop Websocket Connection" id="b1b78f5a-45e1-4ffe-b3a2-87cfa3bbf858"><con:settings/><con:config><ConnectionName>echo.websocket.org</ConnectionName><Timeout>30000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><DropMethod>SendDisconnect</DropMethod></con:config></con:testStep><con:properties/><con:reportParameters/><con:breakPoints><con:testStepId>c627ec6b-68fa-4ea5-a00a-f797a9394029</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints><con:breakPoints><con:testStepId>544deb0f-4897-42d0-b1d6-eb1e3373956c</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints><con:breakPoints><con:testStepId>b1b78f5a-45e1-4ffe-b3a2-87cfa3bbf858</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints></con:testCase><con:testCase id="e5456773-8f37-40f1-ac52-26666c03e77c" failOnError="false" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="sample echo" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword=""><con:settings/><con:testStep type="websocketPublishTestStep" name="Publish using Websocket" id="63fc5f29-f33a-46de-869c-53a3b91e85b8"><con:settings/><con:config><ConnectionName>sample echo</ConnectionName><Timeout>10000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><MessageKind>Text</MessageKind><Message>${=UUID.randomUUID().toString()}</Message></con:config></con:testStep><con:testStep type="WebsocketReceiveTestStep" name="Receive Websocket Message" id="7fe1de57-583b-4a35-8512-82f809bfa87c"><con:settings/><con:config><ConnectionName>sample echo</ConnectionName><Timeout>10000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><ExpectedMessageType>Text</ExpectedMessageType><MaxMessageCount>0</MaxMessageCount><assertion type="Simple Contains" id="86361834-f58b-40da-af2f-9ea6b3ba1f9b" name="Contains">
<con:configuration>
<token>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</token>
<ignoreCase>false</ignoreCase>
<useRegEx>true</useRegEx>
</con:configuration>
</assertion></con:config></con:testStep><con:testStep type="WebsocketDropConnectionTestStep" name="Drop Websocket Connection" id="8a9ac491-000d-4f7c-9a5e-8f8d84bc8564"><con:settings/><con:config><ConnectionName>sample echo</ConnectionName><Timeout>30000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><DropMethod>SendDisconnect</DropMethod></con:config></con:testStep><con:loadTest id="ee97b7cc-bd56-4b76-a0a6-722ab8d64c94" name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting><con:setting id="hasBeenConvertedToLoadUITest">true</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>1</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>100</testDelay><randomFactor>1.0</randomFactor></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep><con:reportParameters/></con:loadTest><con:properties/><con:reportParameters/><con:breakPoints><con:testStepId>8d6b38b9-7a09-43d4-8d17-04e6e4e62333</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints><con:breakPoints><con:testStepId>5e20ce24-91ec-4af1-b3be-5b881fd2debb</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints></con:testCase><con:testCase id="e5bf9b66-fccb-43bd-a901-ca09ba8f865e" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="sample stream" searchProperties="true"><con:settings/><con:testStep type="WebsocketReceiveTestStep" name="Receive Websocket Message" id="b683e840-e961-4ee6-9915-beb5c7d06a80"><con:settings/><con:config><ConnectionName>sample stream</ConnectionName><Timeout>0</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><ExpectedMessageType>BinaryData</ExpectedMessageType><MaxMessageCount>15</MaxMessageCount><assertion type="Simple Contains" id="bd55144b-a7e6-4918-9cc7-0abbc858bc59" name="Contains">
<con:configuration>
<token>42</token>
<ignoreCase>false</ignoreCase>
<useRegEx>false</useRegEx>
</con:configuration>
</assertion></con:config></con:testStep><con:properties/><con:reportParameters/><con:breakPoints><con:testStepId>8d6b38b9-7a09-43d4-8d17-04e6e4e62333</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints><con:breakPoints><con:testStepId>5e20ce24-91ec-4af1-b3be-5b881fd2debb</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints></con:testCase><con:testCase id="d1c89c6d-99a6-4dbd-8142-c65870fe1bad" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="sample hello" searchProperties="true"><con:settings/><con:testStep type="WebsocketReceiveTestStep" name="Receive Websocket Message" id="92143b19-63f7-4a7a-a3e9-928cc10b5009"><con:settings/><con:config><ConnectionName>sample hello</ConnectionName><Timeout>1000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><ExpectedMessageType>Text</ExpectedMessageType><MaxMessageCount>0</MaxMessageCount><assertion type="Simple Contains" id="d84495ec-89ba-482b-a87e-7335a9b8279c" name="Contains">
<con:configuration>
<token>Hello world!</token>
<ignoreCase>false</ignoreCase>
<useRegEx>false</useRegEx>
</con:configuration>
</assertion></con:config></con:testStep><con:properties/><con:reportParameters/><con:breakPoints><con:testStepId>8d6b38b9-7a09-43d4-8d17-04e6e4e62333</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints><con:breakPoints><con:testStepId>5e20ce24-91ec-4af1-b3be-5b881fd2debb</con:testStepId><con:status>NONE</con:status><con:properties/></con:breakPoints></con:testCase><con:testCase id="7ace7571-b1c5-40a0-b94e-1d2b0188e032" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="sample code" searchProperties="true"><con:settings/><con:testStep type="websocketPublishTestStep" name="Publish using Websocket" id="e805a2bc-e7db-4adc-9884-6d3f02adb11c"><con:settings/><con:config><ConnectionName>sample code</ConnectionName><Timeout>1000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><MessageKind>IntegerValue</MessageKind><Message>1013</Message></con:config></con:testStep><con:testStep type="WebsocketReceiveTestStep" name="Receive Websocket Message" id="2eecdb9f-4808-4409-a4c2-c53e434cb98a"><con:settings/><con:config><ConnectionName>sample code</ConnectionName><Timeout>1000</Timeout><TimeoutMeasure>Seconds</TimeoutMeasure><ExpectedMessageType>Text</ExpectedMessageType><MaxMessageCount>0</MaxMessageCount></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:properties/><con:reportParameters/></con:testSuite><con:requirements/><con:properties/><con:wssContainer/><con:databaseConnectionContainer/><con:jmsConnectionContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:reporting><con:xmlTemplates/><con:parameters/></con:reporting><con:sensitiveInformation/><con:authRepository/><con:loadUiTest name="LoadTest 1" id="f767ca45-c951-4b8a-be19-97366137581e"><con:settings><con:setting id="soapUIObjectSourceId">e5456773-8f37-40f1-ac52-26666c03e77c</con:setting><con:setting id="convertedFromLoadTestModelItemId">ee97b7cc-bd56-4b76-a0a6-722ab8d64c94</con:setting></con:settings><con1:loadui-project id="f2c9be41-bd02-49f5-9a03-98fe245b24d0" label="LoadTest 1" xmlns:con1="http://eviware.com/loadui/config"><con1:properties><con1:property propagates="true" key="ModelItem.description" type="java.lang.String"/><con1:property propagates="true" key="CanvasItem.abortOnFinish" type="java.lang.Boolean">false</con1:property><con1:property propagates="true" key="ModelItem.saveReport" type="java.lang.Boolean">false</con1:property><con1:property propagates="true" key="ModelItem.reportFolder" type="java.lang.String"/><con1:property propagates="true" key="ModelItem.reportFormat" type="java.lang.String"/><con1:property propagates="true" key="Temporary project" type="java.lang.String"/><con1:property propagates="true" key="ModelItem.rate" type="java.lang.Long">10</con1:property><con1:property propagates="true" key="ModelItem.loadDistributionType" type="com.smartbear.load.facade.LoadDistributionType">PerScenario</con1:property><con1:property propagates="true" key="ModelItem.remoteMode" type="java.lang.String"/><con1:property propagates="true" key="ModelItem.id" type="java.lang.String">f767ca45-c951-4b8a-be19-97366137581e</con1:property></con1:properties><con1:attributes><con1:property key="limits">Time=30;</con1:property></con1:attributes><con1:addons/><con1:scene label="New Scenario" id="172c378d-0d18-4334-9254-2d79a73f7a51"><con1:properties><con1:property propagates="true" key="ModelItem.description" type="java.lang.String"/><con1:property propagates="true" key="CanvasItem.abortOnFinish" type="java.lang.Boolean">true</con1:property><con1:property propagates="true" key="SceneItem.followProject" type="java.lang.Boolean">true</con1:property><con1:property propagates="true" key="SceneItem.scenarioRatePercentage" type="java.lang.Long">100</con1:property><con1:property propagates="true" key="SceneItem.scenarioRateSpecific" type="java.lang.Long">10</con1:property><con1:property propagates="true" key="ModelItem.samplerOutputLevel" type="com.eviware.loadui.api.component.SoapUISamplerOutputLevel">TestCaseAndAllTestSteps</con1:property></con1:properties><con1:attributes><con1:property key="limits">Time=30;</con1:property></con1:attributes><con1:addons/><con1:component type="com.eviware.loadui.impl.component.IntervalComponent" label="Interval 1" id="ad492e56-5d09-4f3e-9227-f4d1d64620d2" category="Scheduler"><con1:properties><con1:property propagates="true" key="ModelItem.description" type="java.lang.String"/><con1:property propagates="true" key="stateProperty" type="java.lang.Boolean">true</con1:property><con1:property propagates="true" key="startAt" type="java.lang.Long">0</con1:property><con1:property propagates="true" key="duration" type="java.lang.Long">5</con1:property><con1:property propagates="true" key="unit" type="java.lang.String">Sec</con1:property><con1:property propagates="true" key="mode" type="java.lang.String">Single</con1:property><con1:property propagates="true" key="defaultMode" type="java.lang.Boolean">true</con1:property></con1:properties><con1:attributes><con1:property key="com.eviware.loadui.api.model.ComponentItem@type">Interval</con1:property></con1:attributes><con1:addons/></con1:component><con1:component type="com.eviware.loadui.components.soapui.SoapUISamplerComponent" label="ready-websocket-plugin:sample echo" id="bdf3708e-3d6d-4590-9e1e-5a00d4c1987b" category="Runners"><con1:properties><con1:property propagates="true" key="ModelItem.description" type="java.lang.String"/><con1:property propagates="true" key="concurrentSamples" type="java.lang.Long">1000</con1:property><con1:property propagates="true" key="property_name_is_not_relevant_for_private_property" type="java.lang.Long">9223372036854775807</con1:property><con1:property propagates="true" key="maxQueueSize" type="java.lang.Long">1000</con1:property><con1:property propagates="true" key="countDiscarded" type="java.lang.Boolean">false</con1:property><con1:property propagates="true" key="disabledTestSteps" type="java.lang.String"/><con1:property propagates="true" key="_thinkTime" type="java.lang.Long">0</con1:property><con1:property propagates="true" key="ReadyApiTestCase" type="com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase">e5456773-8f37-40f1-ac52-26666c03e77c</con1:property><con1:property propagates="true" key="raiseError" type="java.lang.Boolean">true</con1:property><con1:property propagates="true" key="outputTestCaseProperties" type="java.lang.Boolean">true</con1:property><con1:property propagates="true" key="OutputLevel" type="java.lang.String">TestCase only</con1:property><con1:property propagates="true" key="closeConnectionsAfterRequest" type="java.lang.Boolean">false</con1:property><con1:property propagates="true" key="disableSoapuiAssertions" type="java.lang.Boolean">false</con1:property><con1:property propagates="true" key="forceShareDatasources" type="java.lang.Boolean">true</con1:property></con1:properties><con1:attributes><con1:property key="com.eviware.loadui.api.model.ComponentItem@type">Ready API TestCase Runner</con1:property></con1:attributes><con1:addons/></con1:component><con1:component type="com.eviware.loadui.impl.component.generators.FixedRate" label="Fixed Rate 1" id="43462db6-7122-42a6-aba5-666aa0c87131" category="Generators"><con1:properties><con1:property propagates="true" key="ModelItem.description" type="java.lang.String"/><con1:property propagates="true" key="stateProperty" type="java.lang.Boolean">false</con1:property><con1:property propagates="true" key="limitVU" type="java.lang.Long">25</con1:property><con1:property propagates="true" key="rate" type="java.lang.Long">10</con1:property><con1:property propagates="true" key="unit" type="java.lang.String">Sec</con1:property></con1:properties><con1:attributes><con1:property key="com.eviware.loadui.api.model.ComponentItem@type">Fixed Rate</con1:property></con1:attributes><con1:addons/></con1:component><con1:connection outputTerminalId="ad492e56-5d09-4f3e-9227-f4d1d64620d2/outgoingTerminal" inputTerminalId="43462db6-7122-42a6-aba5-666aa0c87131/stateTerminal"/><con1:connection outputTerminalId="43462db6-7122-42a6-aba5-666aa0c87131/triggerTerminal" inputTerminalId="bdf3708e-3d6d-4590-9e1e-5a00d4c1987b/triggerTerminal"/><con1:connection outputTerminalId="bdf3708e-3d6d-4590-9e1e-5a00d4c1987b/runningTerminal" inputTerminalId="43462db6-7122-42a6-aba5-666aa0c87131/Sample Count"/></con1:scene><con1:statistics><con1:page title="DefaultLoadUIStatisticPage"><con1:chartGroup type="com.eviware.loadui.api.statistics.model.chart.line.LineChartView" title="" groupType="Monitors"><con1:attributes><con1:property key="GroupId">f85c6c0f-7a2e-4b30-830b-bacfe6307a4d</con1:property></con1:attributes></con1:chartGroup></con1:page></con1:statistics></con1:loadui-project><con:loadUITestScenario projectId="f2c9be41-bd02-49f5-9a03-98fe245b24d0" scenarioId="172c378d-0d18-4334-9254-2d79a73f7a51" name="New Scenario" id="f4e76683-d980-4baa-a62a-0aacf136b583"><con:settings/></con:loadUITestScenario><con:loadUIPanelData id="f10681f4-aded-4236-aca0-289d3f29dabc"><con:panel>Log</con:panel></con:loadUIPanelData><con:setupScript xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><con:teardownScript xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><con:reportParameters/></con:loadUiTest><con:tags/></con:soapui-project>