forked from hschott/ready-websocket-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ready-websocket-plugin-soapui-project.xml
79 lines (79 loc) · 12 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
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="5e871d76-59b2-469f-8b50-884412b8247e" activeEnvironment="Default" name="ready-websocket-plugin" resourceRoot="" soapui-version="5.4.0" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="WebSocketConnections"><![CDATA[<xml-fragment>
<Connection>
<Name>sample echo</Name>
<ServerURI>wss://sample-websocket-server.herokuapp.com/echo/websocket</ServerURI>
</Connection>
<Connection>
<Name>sample stream</Name>
<ServerURI>wss://sample-websocket-server.herokuapp.com/stream/websocket</ServerURI>
</Connection>
<Connection>
<Name>sample hello</Name>
<ServerURI>wss://sample-websocket-server.herokuapp.com/hello/websocket</ServerURI>
</Connection>
<Connection>
<Name>echo.websocket.org</Name>
<ServerURI>wss://echo.websocket.org</ServerURI>
</Connection>
<Connection>
<Name>sample code</Name>
<ServerURI>wss://sample-websocket-server.herokuapp.com/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="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="sample echo" searchProperties="true"><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:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>0</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>0</MaxMessageCount><assertion type="Simple Contains" id="bd55144b-a7e6-4918-9cc7-0abbc858bc59" name="Contains">
<con:configuration>
<token>4301</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>1006</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>BinaryData</ExpectedMessageType><MaxMessageCount>0</MaxMessageCount></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:properties/><con:reportParameters/></con:testSuite><con:properties/><con:wssContainer/><con:databaseConnectionContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:reporting><con:xmlTemplates/><con:parameters/></con:reporting><con:sensitiveInformation/><con:authRepository/></con:soapui-project>