Skip to content

Commit

Permalink
added image link
Browse files Browse the repository at this point in the history
  • Loading branch information
Tvisha Raji authored and Tvisha Raji committed Aug 19, 2024
1 parent 454bfb7 commit f19b77d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 0 additions & 2 deletions versioned_docs/version-2.0.0/quickstart/flask-redis.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Flask-redis

---
id: flask-redis
title: Sample Library App (Flask + Redis)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ keploy record -c "java -jar target/spring-petclinic-rest-3.0.2.jar"

Now you can start interacting with the UI and Keploy will automatically create the testcases and mocks for it in a folder named 'keploy'.

![Test Record](/img/pet-clinic-record.png)
![Test Record](/static/img/pet-clinic-record.png)


### Running the testcases using Keploy
Expand Down Expand Up @@ -142,8 +142,8 @@ keploy record -c "docker compose up" --container-name javaApp --build-delay 100
```bash
keploy test -c "docker compose up" --container-name javaApp --build-delay 50 --delay 20
```
![Test Record](/img/pet-clinic-test1.png)
![Test Record](/img/pet-clinic-test2.png)
![Test Record](/static/img/pet-clinic-test1.png)
![Test Record](/static/img/pet-clinic-test2.png)


Here `delay` is the time it takes for your application to get started, after which Keploy will start running the testcases. If your application takes longer than 10s to get started, you can change the `delay` accordingly.
Expand Down
6 changes: 2 additions & 4 deletions versioned_docs/version-2.0.0/quickstart/sample-ts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Sample-ts

---
id: samples-typescript
title: Typescript Sample Application
Expand Down Expand Up @@ -268,8 +266,8 @@ keploy test -c 'sudo docker-compose up' --containerName "ts-nhost" --delay 10
```
This is what your response should look like!

![Test Record](/img/wsl-test-ts.png)
![Test Record](/img/wsl-test-summary-ts.png)
![Test Record](/static/img/wsl-test-ts.png)
![Test Record](/static/img/wsl-test-summary-ts.png)


## Wrapping it up 🎉
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-2.0.0/quickstart/sanic-mongo.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ keploy record -c "python3 server.py"
```
You should be able to see this in your terminal

![Test Record](/img/sanic-mongo-record.png)
![Test Record](/static/img/sanic-mongo-record.png)

<!-- <img src='/docs/static/img/sanic-mongo-record.png' alt="Test Record" width="80%"/> -->

Expand Down Expand Up @@ -156,6 +156,6 @@ spec:
```
This is how your terminal would look like :

![Test Record](/img/sanic-mongo-test.png)
![Test Record](/static/img/sanic-mongo-test.png)

You can experiment with different API calls, modify the database response in mocks.yml, or adjust the request or response in test-x.yml. Then, run the tests again to see the change in response

0 comments on commit f19b77d

Please sign in to comment.