@@ -130,11 +130,6 @@ clean:
130130 docker-compose down -v --remove-orphans
131131
132132# Franken Worker targets
133- .PHONY : k6-franken-worker-products
134- k6-franken-worker-products :
135- @echo " Running products test against Franken Worker..."
136- k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/list_products.js
137-
138133.PHONY : k6-franken-worker-products-db
139134k6-franken-worker-products-db :
140135 @echo " Running products DB test against Franken Worker..."
@@ -145,11 +140,6 @@ k6-franken-worker-products-redis:
145140 @echo " Running products Redis test against Franken Worker..."
146141 k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/list_products_redis.js
147142
148- .PHONY : k6-franken-worker-customers
149- k6-franken-worker-customers :
150- @echo " Running customers test against Franken Worker..."
151- k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/list_customers.js
152-
153143.PHONY : k6-franken-worker-customers-db
154144k6-franken-worker-customers-db :
155145 @echo " Running customers DB test against Franken Worker..."
@@ -160,11 +150,6 @@ k6-franken-worker-customers-redis:
160150 @echo " Running customers Redis test against Franken Worker..."
161151 k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/list_customers_redis.js
162152
163- .PHONY : k6-franken-worker-orders
164- k6-franken-worker-orders :
165- @echo " Running orders test against Franken Worker..."
166- k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/list_orders.js
167-
168153.PHONY : k6-franken-worker-orders-db
169154k6-franken-worker-orders-db :
170155 @echo " Running orders DB test against Franken Worker..."
@@ -175,17 +160,7 @@ k6-franken-worker-orders-redis:
175160 @echo " Running orders Redis test against Franken Worker..."
176161 k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/list_orders_redis.js
177162
178- .PHONY : k6-franken-worker-blog
179- k6-franken-worker-blog :
180- @echo " Running blog test against Franken Worker..."
181- k6 run --env BASE_URL=$(FRANKEN_WORKER_URL ) k6/loadtest.js
182-
183163# Franken targets
184- .PHONY : k6-franken-products
185- k6-franken-products :
186- @echo " Running products test against Franken..."
187- k6 run --env BASE_URL=$(FRANKEN_URL ) k6/list_products.js
188-
189164.PHONY : k6-franken-products-db
190165k6-franken-products-db :
191166 @echo " Running products DB test against Franken..."
@@ -196,11 +171,6 @@ k6-franken-products-redis:
196171 @echo " Running products Redis test against Franken..."
197172 k6 run --env BASE_URL=$(FRANKEN_URL ) k6/list_products_redis.js
198173
199- .PHONY : k6-franken-customers
200- k6-franken-customers :
201- @echo " Running customers test against Franken..."
202- k6 run --env BASE_URL=$(FRANKEN_URL ) k6/list_customers.js
203-
204174.PHONY : k6-franken-customers-db
205175k6-franken-customers-db :
206176 @echo " Running customers DB test against Franken..."
@@ -211,11 +181,6 @@ k6-franken-customers-redis:
211181 @echo " Running customers Redis test against Franken..."
212182 k6 run --env BASE_URL=$(FRANKEN_URL ) k6/list_customers_redis.js
213183
214- .PHONY : k6-franken-orders
215- k6-franken-orders :
216- @echo " Running orders test against Franken..."
217- k6 run --env BASE_URL=$(FRANKEN_URL ) k6/list_orders.js
218-
219184.PHONY : k6-franken-orders-db
220185k6-franken-orders-db :
221186 @echo " Running orders DB test against Franken..."
@@ -226,11 +191,6 @@ k6-franken-orders-redis:
226191 @echo " Running orders Redis test against Franken..."
227192 k6 run --env BASE_URL=$(FRANKEN_URL ) k6/list_orders_redis.js
228193
229- .PHONY : k6-franken-blog
230- k6-franken-blog :
231- @echo " Running blog test against Franken..."
232- k6 run --env BASE_URL=$(FRANKEN_URL ) k6/loadtest.js
233-
234194# mysql read
235195.PHONY : k6-fpm-products-db
236196k6-fpm-products-db :
@@ -243,11 +203,6 @@ k6-fpm-products-redis:
243203 @echo " Running products Redis test against FPM..."
244204 k6 run --env BASE_URL=$(FPM_URL ) k6/list_products_redis.js
245205
246- .PHONY : k6-fpm-customers
247- k6-fpm-customers :
248- @echo " Running customers test against FPM..."
249- k6 run --env BASE_URL=$(FPM_URL ) k6/list_customers.js
250-
251206.PHONY : k6-fpm-customers-db
252207k6-fpm-customers-db :
253208 @echo " Running customers DB test against FPM..."
@@ -258,11 +213,6 @@ k6-fpm-customers-redis:
258213 @echo " Running customers Redis test against FPM..."
259214 k6 run --env BASE_URL=$(FPM_URL ) k6/list_customers_redis.js
260215
261- .PHONY : k6-fpm-orders
262- k6-fpm-orders :
263- @echo " Running orders test against FPM..."
264- k6 run --env BASE_URL=$(FPM_URL ) k6/list_orders.js
265-
266216.PHONY : k6-fpm-orders-db
267217k6-fpm-orders-db :
268218 @echo " Running orders DB test against FPM..."
@@ -273,53 +223,36 @@ k6-fpm-orders-redis:
273223 @echo " Running orders Redis test against FPM..."
274224 k6 run --env BASE_URL=$(FPM_URL ) k6/list_orders_redis.js
275225
276- .PHONY : k6-fpm-blog
277- k6-fpm-blog :
278- @echo " Running blog test against FPM..."
279- k6 run --env BASE_URL=$(FPM_URL ) k6/loadtest.js
280-
281226# Batch testing targets
282227.PHONY : k6-all-franken-worker
283228k6-all-franken-worker :
284229 @echo " Running all tests against Franken Worker..."
285- $(MAKE ) k6-franken-worker-products
286230 $(MAKE ) k6-franken-worker-products-db
287231 $(MAKE ) k6-franken-worker-products-redis
288- $(MAKE ) k6-franken-worker-customers
289232 $(MAKE ) k6-franken-worker-customers-db
290233 $(MAKE ) k6-franken-worker-customers-redis
291- $(MAKE ) k6-franken-worker-orders
292234 $(MAKE ) k6-franken-worker-orders-db
293235 $(MAKE ) k6-franken-worker-orders-redis
294- $(MAKE ) k6-franken-worker-blog
295236
296237.PHONY : k6-all-franken
297238k6-all-franken :
298239 @echo " Running all tests against Franken..."
299- $(MAKE ) k6-franken-products
300240 $(MAKE ) k6-franken-products-db
301241 $(MAKE ) k6-franken-products-redis
302- $(MAKE ) k6-franken-customers
303242 $(MAKE ) k6-franken-customers-db
304243 $(MAKE ) k6-franken-customers-redis
305- $(MAKE ) k6-franken-orders
306244 $(MAKE ) k6-franken-orders-db
307245 $(MAKE ) k6-franken-orders-redis
308- $(MAKE ) k6-franken-blog
309246
310247.PHONY : k6-all-fpm
311248k6-all-fpm :
312249 @echo " Running all tests against FPM..."
313- $(MAKE ) k6-fpm-products
314250 $(MAKE ) k6-fpm-products-db
315251 $(MAKE ) k6-fpm-products-redis
316- $(MAKE ) k6-fpm-customers
317252 $(MAKE ) k6-fpm-customers-db
318253 $(MAKE ) k6-fpm-customers-redis
319- $(MAKE ) k6-fpm-orders
320254 $(MAKE ) k6-fpm-orders-db
321255 $(MAKE ) k6-fpm-orders-redis
322- $(MAKE ) k6-fpm-blog
323256
324257.PHONY : k6-all-environments
325258k6-all-environments :
0 commit comments