forked from ddavison/docker-soapui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver_index.html
85 lines (76 loc) · 2.37 KB
/
server_index.html
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
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SoapUI Docker</title>
<style type="text/css">
html,body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}
#header {
position: fixed;
top: 0px;
left: 0px;
height: 50px;
width: 100%;
}
#header > h1 {
position: fixed;
left: 400px;
top: 10px;
}
#content {
padding: 40px;
margin-top: 100px;
}
#footer {
position: absolute;
bottom: 0px;
left: 0px;
}
.code {
}
</style>
</head>
<body>
<div id="header">
<a href="https://hub.docker.com/r/ddavison/soapui"><img src="http://ddavison.io/images/soapuidocker.png" alt="SoapUI Docker" width="300" height="100" /></a>
<h1>Docker SoapUI</h1>
</div>
<div id="content">
<p>If you are seeing this page, this means your docker container is successfully running!</p>
<p>You are ready to start using Docker SoapUI.</p>
<br /><br />
<h3>To Use...</h3>
<strong>Send a `curl` request to <span class="location">this URL</span> with the following code</strong>
<pre class="code">
$ curl --form "project=@/path/to/soapui-project.xml" \
--form "suite=TestSuite" \
<span class="location">this URL</span>
</pre>
<strong>Use a REST client to POST to <span class="location"></span> with these variables</strong>
<ul>
<li><strong>project</strong> <em>- the actual content of the SoapUI project xml</em></li>
<li><strong>suite</strong> <em>- the suite to run (usually will be TestSuite if left unchanged from SoapUI)</em></li>
</ul>
<br /><br />
<h4>Links</h4>
<ul>
<li>See the <a href="https://hub.docker.com/r/ddavison/soapui">Readme</a> for more information.</li>
<li>See my <a href="http://ddavison.io/2016/02/04/soapui-containerization.html">blog post</a> regarding this project.</li>
</ul>
</div>
<div id="footer">
<p>
<em>Thanks for using my <a href="https://hub.docker.com/r/ddavison/soapui">SoapUI Docker</a> image!</em> |
Follow me on <a href="https://twitter.com/sircapsalot">Twitter</a>, <a href="https://github.com/ddavison">GitHub</a>
</p>
</div>
<script type="application/javascript">
var elLocations = document.getElementsByClassName('location');
for (var i = 0; i < elLocations.length; i++) {
elLocations.item(i).innerText = location.href;
}
</script>
</body>
</html>