Skip to content

Commit dca41dc

Browse files
author
p00921258
committed
rename package to org.hschott
update to soapui 7.2 aka. readyapi 3.53 update to tyrus 2.1
1 parent d154010 commit dca41dc

81 files changed

Lines changed: 326 additions & 359 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
[![Build Status](https://travis-ci.org/hschott/ready-websocket-plugin.svg)](https://travis-ci.org/hschott/ready-websocket-plugin)
21
[![Latest Release](https://img.shields.io/github/release/hschott/ready-websocket-plugin.svg)](https://github.com/hschott/ready-websocket-plugin/releases/latest)
32

43
## Ready! API Websocket Plugin
54

65
This plugin adds four TestSteps to the functional testing in Ready! API
7-
* one for publishing messages to an websocket server
6+
* one for publishing messages to a websocket server
87
* one for receiving (and asserting) messages
98
* one for dropping connections
109
* and one for only opening connections
@@ -16,13 +15,9 @@ Thanks to the original authors.
1615

1716
## Requirements and Installation
1817

19-
This plugin is compatible and works with:
20-
* SoapUI 5.2.x and 5.4.x
21-
* Ready! API 1.4.x and 1.5.x
22-
* Ready! API 2.4.x and 2.5.x
23-
24-
If you like to run an unsigned plugin in SoapUI OS equal to or higher than 5.2.1 you have to install [SoapUI PluginLoader Jailbreak](https://github.com/hschott/soapui-pluginloader-jailbreak).
25-
18+
This plugin is tested with:
19+
* SoapUI 5.7.2
20+
* Ready! API 3.53.0
2621

2722
### Install in SoapUI
2823

@@ -31,11 +26,11 @@ For further question please read [SoapUI Plugin Installation](http://www.soapui.
3126

3227
### Install in Ready! API
3328

34-
Install the plugin via the Plugin Manager inside Ready! API. Please read [Ready! API Plugin Manager](http://readyapi.smartbear.com/readyapi/plugins/manager/start) for additional informations.
29+
Install the plugin via the Plugin Manager inside Ready! API. Please read [Ready! API Plugin Manager](http://readyapi.smartbear.com/readyapi/plugins/manager/start) for additional information.
3530

3631
## Websocket Test Steps
3732

38-
This plugin allows publish messages to websocket servers and receive messages from them. It adds 4 different test steps:
33+
This plugin allows to publish messages to websocket servers and receive messages from them. It adds 4 different test steps:
3934

4035
* Publish using Websockets – to publish a message
4136
* Receive Websockets Message – to receive a message
@@ -48,7 +43,7 @@ Websockets are full-duplex (both directions at the same time) single tcp socket
4843

4944
A TestCase bundles TestSteps and for Websocket TestSteps it is the place where open websocket connections are cached.
5045

51-
Each Websocket TestStep looks into the cache for a named connection. If an open websocket connection could be found it will be used for communication. If no open websocket connection could be found, a new one will be opend and cached. Once the TestCase has ended all open websocket connections will be closed.
46+
Each Websocket TestStep looks into the cache for a named connection. If an open websocket connection could be found it will be used for communication. If no open websocket connection could be found, a new one will be opened and cached. Once the TestCase has ended all open websocket connections will be closed.
5247

5348
Caching and re-using of open websocket connections only happens when you run a TestCase. When running a single Websocket TestStep it's websocket connection will not be cached for re-use.
5449

@@ -77,9 +72,9 @@ This is the URI of the websocket server. Server URI should contain the protocol
7772
Server URI may also contain a port number. If the port is not specified, it will default to 80 for ws:// server URIs, and 443 for wss:// server URIs.
7873
Example of URI: `ws://localhost:80`
7974

80-
**Subprotocols**
75+
**Sub-protocols**
8176

82-
The optional subprotocols to use in the websocket upgrade request as comma-separated list.
77+
The optional sub-protocols to use in the websocket upgrade request as comma-separated list.
8378

8479
**Authentication**
8580

@@ -140,12 +135,12 @@ This is the actual payload of the message you want to publish.
140135

141136
**Timeout**
142137

143-
The test step will fail if a connection to websocket server is not established and that message could not be send to the server within a specified period.
138+
The test step will fail if a connection to websocket server is not established and that message could not be sent to the server within a specified period.
144139

145140

146141
### Receive Websocket Message
147142

148-
This test step waits until a message is received from the websocket server and optionaly asserts the message.
143+
This test step waits until a message is received from the websocket server and optionally asserts the message.
149144

150145
<img width="629" alt="receive message" src="https://cloud.githubusercontent.com/assets/4548589/11326134/30e4175e-9161-11e5-9192-7b2420222714.png">
151146

@@ -184,7 +179,7 @@ The payload of a message which was received as a result of the test step executi
184179

185180
**Assertions**
186181

187-
When present, assertions will continuously applied against the received stream of messages. Only if all given assertions match then this test step succeeds.
182+
When present, assertions will be continuously applied against the received stream of messages. Only if all given assertions match then this test step succeeds.
188183

189184
If no assertion is present then the first received message will be set as valid message.
190185

pom.xml

Lines changed: 119 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,130 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
55

6-
<artifactId>ready-websocket-plugin</artifactId>
7-
<groupId>com.tsystems.readyapi.plugin.websocket</groupId>
8-
<version>2.0.8</version>
6+
<artifactId>ready-websocket-plugin</artifactId>
7+
<groupId>com.tsystems.readyapi.plugin.websocket</groupId>
8+
<version>2.1.0</version>
99

10-
<name>Ready! API Websocket Plugin</name>
11-
<description>A Ready! API plugin to run TestSteps against websockets</description>
12-
<url>https://github.com/hschott/ready-websocket-plugin</url>
13-
<developers>
14-
<developer>
15-
<name>Holger Balow-Schott</name>
16-
<email>Holger.Balow-Schott@bitgrip.de</email>
17-
<organizationUrl>https://github.com/hschott/ready-websocket-plugin</organizationUrl>
18-
<timezone>+1</timezone>
19-
</developer>
20-
</developers>
21-
<issueManagement>
22-
<system>GitHub</system>
23-
<url>https://github.com/hschott/ready-websocket-plugin/issues</url>
24-
</issueManagement>
25-
<licenses>
26-
<license>
27-
<name>The Apache License, Version 2.0</name>
28-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
29-
</license>
30-
</licenses>
10+
<name>Ready! API Websocket Plugin</name>
11+
<description>A Ready! API plugin to run TestSteps against websockets</description>
12+
<url>https://github.com/hschott/ready-websocket-plugin</url>
13+
<developers>
14+
<developer>
15+
<name>Holger Balow-Schott</name>
16+
<organizationUrl>https://github.com/hschott/ready-websocket-plugin</organizationUrl>
17+
<timezone>+1</timezone>
18+
</developer>
19+
</developers>
20+
<issueManagement>
21+
<system>GitHub</system>
22+
<url>https://github.com/hschott/ready-websocket-plugin/issues</url>
23+
</issueManagement>
24+
<licenses>
25+
<license>
26+
<name>The Apache License, Version 2.0</name>
27+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
28+
</license>
29+
</licenses>
3130

32-
<repositories>
33-
<repository>
34-
<id>soapUI Repository</id>
35-
<url>http://www.soapui.org/repository/maven2</url>
36-
<snapshots>
37-
<enabled>false</enabled>
38-
</snapshots>
39-
</repository>
40-
<repository>
41-
<id>central</id>
42-
<name>Central Maven2 Repository</name>
43-
<url>http://repo1.maven.org/maven2</url>
44-
</repository>
45-
</repositories>
31+
<repositories>
32+
<repository>
33+
<id>SoapUI_M2</id>
34+
<name>SoapUI/ReadyAPI maven</name>
35+
<url>https://rapi.tools.ops.smartbear.io/nexus/content/groups/public/</url>
36+
</repository>
37+
</repositories>
4638

47-
<scm>
48-
<connection>scm:git:git@github.com:hoschott/ready-websocket-plugin.git</connection>
49-
<developerConnection>scm:git:git@github.com:hoschott/ready-websocket-plugin.git</developerConnection>
50-
<url>https://github.com/hschott/ready-websocket-plugin.git</url>
51-
<tag>HEAD</tag>
52-
</scm>
39+
<scm>
40+
<connection>scm:git:git@github.com:hoschott/ready-websocket-plugin.git</connection>
41+
<developerConnection>scm:git:git@github.com:hoschott/ready-websocket-plugin.git</developerConnection>
42+
<url>https://github.com/hschott/ready-websocket-plugin.git</url>
43+
<tag>HEAD</tag>
44+
</scm>
5345

54-
<dependencies>
55-
<dependency>
56-
<groupId>com.smartbear</groupId>
57-
<artifactId>ready-api-ui</artifactId>
58-
<version>1.4.0</version>
59-
<scope>provided</scope>
60-
</dependency>
61-
<dependency>
62-
<groupId>org.glassfish.tyrus.bundles</groupId>
63-
<artifactId>tyrus-standalone-client-jdk</artifactId>
64-
<version>1.13.1</version>
65-
</dependency>
66-
</dependencies>
46+
<dependencies>
47+
<dependency>
48+
<groupId>com.smartbear</groupId>
49+
<artifactId>ready-api-soapui-pro</artifactId>
50+
<version>3.53.0</version>
51+
<exclusions>
52+
<exclusion>
53+
<groupId>com.lowagie</groupId>
54+
<artifactId>itext</artifactId>
55+
</exclusion>
56+
<exclusion>
57+
<groupId>com.smartbear</groupId>
58+
<artifactId>ready-api-db</artifactId>
59+
</exclusion>
60+
<exclusion>
61+
<groupId>com.github.markusbernhardt</groupId>
62+
<artifactId>proxy-vole</artifactId>
63+
</exclusion>
64+
</exclusions>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.glassfish.tyrus.bundles</groupId>
68+
<artifactId>tyrus-standalone-client-jdk</artifactId>
69+
<version>2.1.5</version>
70+
</dependency>
71+
</dependencies>
6772

68-
<properties>
69-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
70-
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
71-
</properties>
73+
<properties>
74+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
75+
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
76+
</properties>
7277

73-
<build>
74-
<sourceDirectory>src/main/java</sourceDirectory>
78+
<build>
79+
<sourceDirectory>src/main/java</sourceDirectory>
7580

76-
<plugins>
77-
<plugin>
78-
<groupId>org.apache.maven.plugins</groupId>
79-
<artifactId>maven-compiler-plugin</artifactId>
80-
<version>3.1</version>
81-
<configuration>
82-
<source>1.7</source>
83-
<target>1.7</target>
84-
<compilerId>groovy-eclipse-compiler</compilerId>
85-
</configuration>
86-
<dependencies>
87-
<dependency>
88-
<groupId>org.codehaus.groovy</groupId>
89-
<artifactId>groovy-eclipse-compiler</artifactId>
90-
<version>2.8.0-01</version>
91-
</dependency>
92-
<dependency>
93-
<groupId>org.codehaus.groovy</groupId>
94-
<artifactId>groovy-eclipse-batch</artifactId>
95-
<version>2.1.8-01</version>
96-
</dependency>
97-
</dependencies>
98-
</plugin>
99-
<plugin>
100-
<artifactId>maven-assembly-plugin</artifactId>
101-
<version>2.4</version>
102-
<executions>
103-
<execution>
104-
<id>make-assembly</id>
105-
<phase>package</phase>
106-
<goals>
107-
<goal>single</goal>
108-
</goals>
109-
<configuration>
110-
<descriptors>
111-
<descriptor>src/assembly/dist-assembly.xml</descriptor>
112-
</descriptors>
113-
</configuration>
114-
</execution>
115-
</executions>
116-
</plugin>
117-
</plugins>
118-
</build>
81+
<plugins>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-compiler-plugin</artifactId>
85+
<version>3.8.1</version>
86+
<configuration>
87+
<source>11</source>
88+
<target>11</target>
89+
<compilerArgs>
90+
<arg>--add-exports</arg>
91+
<arg>
92+
java.desktop/sun.swing=ALL-UNNAMED,java.security.jgss/sun.security.jgss=ALL-UNNAMED,java.base/sun.net.spi=ALL-UNNAMED,java.desktop/sun.awt=ALL-UNNAMED,java.base/sun.security.x509=ALL-UNNAMED
93+
</arg>
94+
</compilerArgs>
95+
<compilerId>groovy-eclipse-compiler</compilerId>
96+
</configuration>
97+
<dependencies>
98+
<dependency>
99+
<groupId>org.codehaus.groovy</groupId>
100+
<artifactId>groovy-eclipse-compiler</artifactId>
101+
<version>3.7.0</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.codehaus.groovy</groupId>
105+
<artifactId>groovy-eclipse-batch</artifactId>
106+
<version>3.0.8-01</version>
107+
</dependency>
108+
</dependencies>
109+
</plugin>
110+
<plugin>
111+
<artifactId>maven-assembly-plugin</artifactId>
112+
<version>2.4</version>
113+
<executions>
114+
<execution>
115+
<id>make-assembly</id>
116+
<phase>package</phase>
117+
<goals>
118+
<goal>single</goal>
119+
</goals>
120+
<configuration>
121+
<descriptors>
122+
<descriptor>src/assembly/dist-assembly.xml</descriptor>
123+
</descriptors>
124+
</configuration>
125+
</execution>
126+
</executions>
127+
</plugin>
128+
</plugins>
129+
</build>
119130
</project>

0 commit comments

Comments
 (0)