Skip to content

Commit 784f796

Browse files
commit
1 parent 6890003 commit 784f796

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

nginx/nginx.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ http {
2020
proxy_set_header Host $host;
2121
proxy_set_header X-Real-IP $remote_addr;
2222
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
23+
proxy_set_header X-Forwarded-Proto $scheme;
24+
proxy_set_header X-Forwarded-Port $server_port;
2325
}
2426
}
2527
}

src/test/jmeter/petclinic_test_plan.jmx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
</elementProp>
129129
</HTTPSamplerProxy>
130130
<hashTree/>
131-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Find owner with lastname=&quot;&quot;" enabled="true">
131+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Find owner with lastname=&quot;&quot;">
132132
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners?lastName=</stringProp>
133133
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
134134
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -139,7 +139,7 @@
139139
</elementProp>
140140
</HTTPSamplerProxy>
141141
<hashTree/>
142-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Owner" enabled="true">
142+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Owner">
143143
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}</stringProp>
144144
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
145145
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -150,7 +150,7 @@
150150
</elementProp>
151151
</HTTPSamplerProxy>
152152
<hashTree/>
153-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Owner" enabled="true">
153+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Edit Owner">
154154
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}/edit</stringProp>
155155
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
156156
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -161,7 +161,7 @@
161161
</elementProp>
162162
</HTTPSamplerProxy>
163163
<hashTree/>
164-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST Edit Owner" enabled="true">
164+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST Edit Owner">
165165
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}/edit</stringProp>
166166
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
167167
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -208,7 +208,7 @@
208208
</elementProp>
209209
</HTTPSamplerProxy>
210210
<hashTree/>
211-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Pet" enabled="true">
211+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New Pet">
212212
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}/pets/new</stringProp>
213213
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
214214
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -219,7 +219,7 @@
219219
</elementProp>
220220
</HTTPSamplerProxy>
221221
<hashTree/>
222-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST new pet" enabled="true">
222+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST new pet">
223223
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}/pets/new</stringProp>
224224
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
225225
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -252,7 +252,7 @@
252252
</elementProp>
253253
</HTTPSamplerProxy>
254254
<hashTree/>
255-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New visit" enabled="true">
255+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="New visit">
256256
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}/pets/${petCount}/visits/new</stringProp>
257257
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
258258
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -263,7 +263,7 @@
263263
</elementProp>
264264
</HTTPSamplerProxy>
265265
<hashTree/>
266-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST new visit" enabled="true">
266+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POST new visit">
267267
<stringProp name="HTTPSampler.path">${CONTEXT_WEB}/owners/${count}/pets/${petCount}/visits/new</stringProp>
268268
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
269269
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -289,7 +289,7 @@
289289
</elementProp>
290290
</HTTPSamplerProxy>
291291
<hashTree/>
292-
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="Results" enabled="true">
292+
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="Results">
293293
<boolProp name="ResultCollector.error_logging">false</boolProp>
294294
<objProp>
295295
<name>saveConfig</name>
@@ -322,7 +322,7 @@
322322
<stringProp name="filename"></stringProp>
323323
</ResultCollector>
324324
<hashTree/>
325-
<ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregated report" enabled="true">
325+
<ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregated report">
326326
<boolProp name="ResultCollector.error_logging">false</boolProp>
327327
<objProp>
328328
<name>saveConfig</name>

0 commit comments

Comments
 (0)