forked from wiremock/wiremock.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
244 lines (214 loc) · 10.3 KB
/
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
---
layout: default
title: WireMock - flexible, open source API mocking
description: WireMock is a tool for building mock APIs. API mocking enables you build stable, predictable development environments when the APIs you depend on are unreliable or don't exist.
header_signup_link: "https://www.wiremock.io/product?utm_source=wiremock.org&utm_medium=referral&utm_campaign=masthead"
---
<style>
#main {
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
#a-wiremock-cloud {
display: none;
}
</style>
<div class="home-header-wrapper">
<div class="container home-hero">
<h1 class="home-hero__title">WireMock: Mock the APIs You Depend On</h1>
<div class="home-hero__boxes">
<div class="home-hero__box">
<h2 class="home-hero__heading">Open Source</h2>
<p>
The core WireMock engine.<br /> Embed in your test code, run as a standalone process, or deploy via Docker.
</p>
<div>
<a href="#opensource" class="btn-secondary">Learn more</a>
</div>
</div>
<div class="home-hero__box home-hero__box--alt">
<h2 class="home-hero__heading">Cloud</h2>
<div>
<p>
Web UI with team collaboration, OpenAPI + Swagger support, and chaos testing.
</p>
<p>
Start on the generous free-forever tier:
</p>
</div>
<div>
<a href="https://www.wiremock.io/product?utm_source=wiremock.org&utm_medium=referral&utm_campaign=exp_hero" class="btn-primary">Get Started</a>
</div>
</div>
</div>
</div>
</div>
<hr class="hr">
<div class="home-header-wrapper">
<div class="container home-header-container">
<div class="home-header-hero-text">
<h1><a id="opensource"></a> Flexible API Mocking for Testing and Development</h1>
<div class="summary-header-stats">
<a href="https://github.com/wiremock/wiremock/stargazers" target="_blank">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/wiremock/wiremock?style=social" >
</a>
<a href="https://github.com/wiremock/wiremock" target="_blank">
<img alt="GitHub forks" src="https://img.shields.io/github/forks/wiremock/wiremock?style=social" >
</a>
<a href="https://github.com/wiremock/" target="_blank">
<img alt="Downloads" src="https://img.shields.io/badge/Downloads-5M%2B%20%2F%20month-white?style=social" >
</a>
<a href="https://github.com/wiremock/" target="_blank">
<img alt="Contributors" src="https://img.shields.io/badge/Contributors-279-white?style=social&logo=github" >
</a>
<!-- Automate pulling with fancy style
<a href="https://github.com/wiremock/" target="_blank">
<img alt="Contributors" src="https://cauldron.io/project/7478/export/svg/git_contributors.svg" >
</a>
-->
</div>
<p>WireMock is a tool for building mock APIs. Create stable development environments, isolate yourself from flakey 3rd parties and simulate APIs that don't exist yet.</p>
<div style="margin-top:10px;display:flex;flex-wrap:wrap;gap:5px;">
<a href="{{ '/docs/' | absolute_url }}" class="btn-primary">Documentation</a>
<a href="{{ site.community_slack.join_url | absolute_url }}" class="btn-secondary">Slack Community</a>
</div>
</div>
<div class="home-header-hero-text whats-hot">
<h2>
<img src="/images/logos/doc-sections/loudspeaker.svg" width="32px"/>
Join us for Hacktoberfest 2023!</h2>
<p>
Learn WireMock and contribute to open source
</p>
<p>
<a href="./events/hacktoberfest">
<img src="/images/events/hacktoberfest/wiremock_hacktoberfest_header.png" width="100%">
</a>
</p>
<p>
This October we participate in Hacktoberfest - a global open source hack fest.
We invite you to join us, regardless of your profile and technology stack.
</p>
<p>
Adopt WireMock in your projects, contribute new features and fixes,
improve docs, create new demos and artwork, etc.
</p>
<p>
<a href="./events/hacktoberfest">Learn More...</a>
</p>
</div>
</div>
</div>
<div class="main-wrapper">
<a id="a-wiremock-cloud" href="#wiremock-cloud-learn-more">z</a>
<div id="wiremock-cloud-learn-more" class="container wiremock-cloud-wrapper" style="background-color: #E4F0F7">
<div class="wiremock-cloud-img-wrapper">
<img class="wiremock-cloud-img" src="{{ '/images/wiremock-cloud/hero-screenshot.png' | absolute_url }}" alt="wiremock cloud screenshot"/>
</div>
<div class="wiremock-cloud-vLine"></div>
<div id="wiremock-cloud" class="wiremock-cloud-details details-custom">
<img class="wiremockIMGwidth" src="{{ '/images/wiremock-cloud/wiremock_cloud_logo.png' | absolute_url }}" | alt="wiremock cloud logo" />
<h3 class="robot-subtitle" style="margin-top:20px">Hosted API mocking for everyone</h3>
<ul class="mocklab-callout-bullets">
<li>SaaS, nothing to install</li>
<li>For individuals, teams and enterprises</li>
<li>Intuitive web UI for developers</li>
<li>OpenAPI, Swagger and Postman import</li>
<li><b style="color:red;">NEW:</b> Chaos Engineering</li>
<li>Generous free plan</li>
</ul>
<div class="wiremock-cloud__buttons">
<a href="https://www.wiremock.io/product?utm_source=wiremock.org&utm_medium=referral&utm_campaign=homepage-callout_learn-more" class="btn-primary">Learn more</a>
<a href="https://app.wiremock.cloud/signup?utm_source=wiremock.org&utm_medium=referral&homepage-callout_try-it-now" class="btn-secondary">Sign Up for Free</a>
</div>
</div>
</div>
<div class="key-features-wrapper">
<h2 class="keyFeaturesTXT">Key Features</h2>
<p class="keyFeaturesInfo">WireMock frees you from dependency on unstable APIs and allows you to develop with confidence. It's easy to launch a mock API server and simulate a host of real-world scenarios and APIs - including REST, SOAP, OAuth2 and more.</p>
<div class="container key-features-grid">
<div class="key-features-card">
<img src="{{ '/images/requestIcon.svg' | absolute_url }}" alt="Wiremock Features"/>
<p>
Advanced request
</p>
<p>
matching
</p>
</div>
<div class="key-features-card">
<img src="{{ '/images/responseIcon.svg' | absolute_url }}" alt="wiremock dynamic response"/>
<p>
Dynamic response
</p>
<p>
templating
</p>
</div>
<div class="key-features-card">
<img src="{{ '/images/unitTestIcon.svg' | absolute_url }}" alt="wiremock unit tests" />
<p>
Run in your unit tests, on your
</p>
<p>
laptop or in your test environment.
</p>
</div>
<div class="key-features-card">
<img src="{{ '/images/faultIcon.svg' | absolute_url }}" alt="wiremock fault and latency"/>
<p>
Fault and latency
</p>
<p>
injection
</p>
</div>
<div class="key-features-card">
<img src="{{ '/images/recordIcon.svg' | absolute_url }}" alt="wiremock record playback"/>
<p>
Record / Playback
</p>
</div>
<div class="key-features-card">
<img src="{{ '/images/httpIcon.svg' | absolute_url }}" alt="wiremock java, python, http" />
<p>
Java, Python, HTTP and
</p>
<p>
JSON file APIs
</p>
</div>
</div>
<div class="key-features-btn-full">
<a class="btn-card-info btnGetStarted" href="docs/">Full Documentation</a>
</div>
<div class="downloads-wrapper">
<h2 class="keyFeaturesTXT">Downloads</h2>
<p class="keyFeaturesInfo">WireMock is available as a standalone service, Java library
and integrations for modern languages and technology stacks.
</p>
{% include downloads.html show_standalone="true" %}
</div>
<div class="faq-wrapper">
<div class="container faq">
<h2 class="keyFeaturesTXT">FAQ</h2>
<dl class="faq-list">
<dt><i class="faq-list-arrow"></i> What is WireMock?</dt>
<dd>WireMock is a free API mocking tool that can be run as a standalone server, or in a hosted version via the <a href="https://wiremock.io/">WireMock Cloud</a> managed service.</dd>
<dt><i class="faq-list-arrow"></i> What is API mocking?</dt>
<dd>API mocking involves creating a simple simulation of an API, accepting the same types of request and returning identically structured responses as the real thing, enabling fast and reliable development and testing.</dd>
<dt><i class="faq-list-arrow"></i> When do you need to mock APIs?</dt>
<dd>API mocking is typically used during development and testing as it allows you to build your app without worrying about 3rd party APIs or sandboxes breaking. It can also be used to rapidly prototype APIs that don’t exist yet.</dd>
<dt><i class="faq-list-arrow"></i> How do you create an API mock?</dt>
<dd>WireMock supports several approaches for creating mock APIs - in code, via its REST API, as JSON files and by recording HTTP traffic proxied to another destination.</dd>
<dt><i class="faq-list-arrow"></i> What makes WireMock unique?</dt>
<dd>WireMock has a rich <a href="docs/request-matching/">matching system</a>, allowing any part of an incoming request to be matched against complex and precise criteria. Responses of any complexity can be dynamically generated via the Handlebars based templating system. Finally, WireMock is easy to integrate into any workflow due to its numerous <a href="docs/extending-wiremock/">extension points</a> and comprehensive APIs.</dd>
<dt><i class="faq-list-arrow"></i> Is WireMock open source?</dt>
<dd>Yes, WireMock is a completely open source API mocking tool (<a href="https://github.com/wiremock/wiremock">GitHub repo</a>). If you’re looking for a hosted version of WireMock, check out <a href="https://wiremock.io/">WireMock Cloud</a>.</dd>
<dt><i class="faq-list-arrow"></i> Is WireMock a free service?</dt>
<dd>WireMock is completely free under the Apache 2.0 license.</dd>
</dl>
</div>
</div>
</div>