Skip to content

Commit 78c21cb

Browse files
committed
update README
1 parent 0b2faa0 commit 78c21cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_14_eshop/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ Once individual services pass the tests, use the API gateway service of `eshop_g
271271

272272
### Stress Testing
273273

274-
To perform stress testing on the `eshop_gw` API gateway service and verify the system's performance under high concurrency, use the stress testing tool [k6](https://github.com/grafana/k6). Before conducting the stress test, ensure that enough stock is set to avoid order failure.
274+
To perform stress testing on the `eshop_gw` API gateway service and verify the system's performance under high concurrency, use the stress testing tool [K6](https://github.com/grafana/k6). Before conducting the stress test, ensure that enough stock is set to avoid order failure.
275275

276-
1. For stress testing the Submit Order API scenario, use the k6 script [submit_order.js](https://github.com/zhufuyi/sponge_examples/blob/main/_14_eshop/test/submit_order.js) and run the following command:
276+
1. For stress testing the Submit Order API scenario, use the k6 script [submitOrder.js](https://github.com/zhufuyi/sponge_examples/blob/main/_14_eshop/test/submitOrder.js) and run the following command:
277277

278278
```bash
279279
# 1000 virtual users, running for 10 seconds
@@ -283,7 +283,7 @@ To perform stress testing on the `eshop_gw` API gateway service and verify the s
283283
k6 run -u 1000 -i 100000 submit_order.js
284284
```
285285

286-
2. For stress testing the Flash Sale API scenario, use the k6 script [flash_sale.js](https://github.com/zhufuyi/sponge_examples/blob/main/_14_eshop/test/flash_sale.js) and run the following command:
286+
2. For stress testing the Flash Sale API scenario, use the k6 script [flashSale.js](https://github.com/zhufuyi/sponge_examples/blob/main/_14_eshop/test/flashSale.js) and run the following command:
287287

288288
```bash
289289
# 10,000 virtual users, running for 1 second

0 commit comments

Comments
 (0)