├── mux-sql
├── coverage.xml
├── .gitignore
├── img
│ ├── coverage.png
│ ├── mux-utg.png
│ ├── testcase.png
│ ├── testrun.png
│ └── mux-utg-codecov.png
├── go.mod
├── sql
│ └── init.sql
├── env-test
├── go.sum
├── Dockerfile
├── main.go
└── docker-compose.yml
├── .github
├── CODEOWNERS
└── ISSUE_TEMPLATE
│ ├── config.yml
│ └── --feature-request.yaml
├── mux-mysql
├── .gitignore
├── helpers
│ ├── urlshortener.go
│ ├── getConnectionString.go
│ ├── checkValidUrl.go
│ └── response.go
├── go.mod
├── go.sum
├── Dockerfile
└── models
│ └── request.go
├── sse-svelte
├── .gitignore
├── svelte-app
│ ├── .gitignore
│ ├── public
│ │ ├── favicon.png
│ │ └── index.html
│ ├── src
│ │ ├── main.js
│ │ └── App.svelte
│ └── package.json
├── img
│ ├── testcase.png
│ └── testrun.png
├── coverage-reports
│ ├── covmeta.574c4db499991fd64db086c9e3d38e60
│ ├── covmeta.7ce172d36cc6e23d0b04e6253f0aebaa
│ └── covcounters.7ce172d36cc6e23d0b04e6253f0aebaa.119266.1719215138973638828
├── docker-compose.yml
├── Dockerfile
└── go.mod
├── book-store-inventory
├── keploy
│ └── .gitignore
├── DB
│ └── book_inventory.db
├── docs
│ └── assets
│ │ ├── add_book.png
│ │ ├── all_books.png
│ │ ├── book_by_id.png
│ │ ├── delete_book.png
│ │ ├── keploy_test_run_1.png
│ │ ├── keploy_test_run_2.png
│ │ └── keploy_test_capture.png
├── pkg
│ ├── utils
│ │ └── constants.go
│ ├── handlers
│ │ └── test_handler.go
│ ├── middleware
│ │ └── basic_auth.go
│ ├── database
│ │ └── db_sqlite.go
│ ├── models
│ │ └── book_model.go
│ └── router
│ │ ├── public_router.go
│ │ └── private_router.go
└── .gitignore
├── echo-mysql
├── .gitignore
├── img
│ ├── keploy_test.png
│ └── keploy_record.png
├── .env
├── custom.cnf
├── docker-compose.yml
├── certs
│ └── openssl.cnf
├── uss
│ └── short.go
└── go.mod
├── go-dedup
├── keploy
│ ├── .gitignore
│ ├── test-set-0
│ │ └── tests
│ │ │ ├── test-244.yaml
│ │ │ ├── test-114.yaml
│ │ │ ├── test-118.yaml
│ │ │ ├── test-120.yaml
│ │ │ ├── test-181.yaml
│ │ │ ├── test-184.yaml
│ │ │ ├── test-215.yaml
│ │ │ ├── test-248.yaml
│ │ │ ├── test-253.yaml
│ │ │ ├── test-314.yaml
│ │ │ ├── test-34.yaml
│ │ │ ├── test-36.yaml
│ │ │ ├── test-379.yaml
│ │ │ ├── test-404.yaml
│ │ │ ├── test-421.yaml
│ │ │ ├── test-423.yaml
│ │ │ ├── test-468.yaml
│ │ │ ├── test-111.yaml
│ │ │ ├── test-126.yaml
│ │ │ ├── test-145.yaml
│ │ │ ├── test-188.yaml
│ │ │ ├── test-198.yaml
│ │ │ ├── test-22.yaml
│ │ │ ├── test-231.yaml
│ │ │ ├── test-257.yaml
│ │ │ ├── test-260.yaml
│ │ │ ├── test-263.yaml
│ │ │ ├── test-273.yaml
│ │ │ ├── test-311.yaml
│ │ │ ├── test-323.yaml
│ │ │ ├── test-327.yaml
│ │ │ ├── test-370.yaml
│ │ │ ├── test-41.yaml
│ │ │ ├── test-415.yaml
│ │ │ ├── test-416.yaml
│ │ │ ├── test-431.yaml
│ │ │ ├── test-45.yaml
│ │ │ ├── test-451.yaml
│ │ │ ├── test-453.yaml
│ │ │ ├── test-455.yaml
│ │ │ ├── test-460.yaml
│ │ │ ├── test-475.yaml
│ │ │ ├── test-477.yaml
│ │ │ ├── test-481.yaml
│ │ │ ├── test-485.yaml
│ │ │ ├── test-52.yaml
│ │ │ ├── test-57.yaml
│ │ │ ├── test-100.yaml
│ │ │ ├── test-127.yaml
│ │ │ ├── test-142.yaml
│ │ │ ├── test-154.yaml
│ │ │ ├── test-17.yaml
│ │ │ ├── test-172.yaml
│ │ │ ├── test-176.yaml
│ │ │ ├── test-191.yaml
│ │ │ ├── test-195.yaml
│ │ │ ├── test-203.yaml
│ │ │ ├── test-204.yaml
│ │ │ ├── test-211.yaml
│ │ │ ├── test-227.yaml
│ │ │ ├── test-232.yaml
│ │ │ ├── test-235.yaml
│ │ │ ├── test-258.yaml
│ │ │ ├── test-262.yaml
│ │ │ ├── test-293.yaml
│ │ │ ├── test-301.yaml
│ │ │ ├── test-302.yaml
│ │ │ ├── test-304.yaml
│ │ │ ├── test-310.yaml
│ │ │ ├── test-328.yaml
│ │ │ ├── test-338.yaml
│ │ │ ├── test-374.yaml
│ │ │ ├── test-407.yaml
│ │ │ ├── test-413.yaml
│ │ │ ├── test-426.yaml
│ │ │ ├── test-428.yaml
│ │ │ ├── test-429.yaml
│ │ │ └── test-438.yaml
│ └── test-set-1
│ │ └── tests
│ │ ├── test-35.yaml
│ │ ├── test-159.yaml
│ │ ├── test-174.yaml
│ │ ├── test-190.yaml
│ │ ├── test-194.yaml
│ │ ├── test-197.yaml
│ │ ├── test-198.yaml
│ │ ├── test-20.yaml
│ │ ├── test-202.yaml
│ │ ├── test-205.yaml
│ │ ├── test-214.yaml
│ │ ├── test-218.yaml
│ │ ├── test-235.yaml
│ │ ├── test-274.yaml
│ │ ├── test-275.yaml
│ │ ├── test-29.yaml
│ │ ├── test-309.yaml
│ │ ├── test-316.yaml
│ │ ├── test-361.yaml
│ │ ├── test-362.yaml
│ │ ├── test-368.yaml
│ │ ├── test-381.yaml
│ │ ├── test-394.yaml
│ │ ├── test-414.yaml
│ │ ├── test-465.yaml
│ │ ├── test-471.yaml
│ │ ├── test-479.yaml
│ │ ├── test-486.yaml
│ │ ├── test-487.yaml
│ │ ├── test-85.yaml
│ │ └── test-93.yaml
└── docker-compose.yml
├── go-grpc
├── keploy
│ └── .gitignore
├── .gitignore
├── img
│ ├── image-1.png
│ ├── image-2.png
│ ├── image-3.png
│ └── image-4.png
├── Dockerfile.grpcserver
├── Dockerfile.grpcclient
└── docker-compose.yml
├── graphql-sql
├── .gitignore
├── img
│ ├── testrun.png
│ ├── testcases.png
│ └── testfailed.png
├── go.mod
├── sql
│ └── init.sql
├── Dockerfile
├── go.sum
└── docker-compose.yml
├── grpc-mongo
├── keploy
│ ├── .gitignore
│ └── test-set-0
│ │ └── mappings.yaml
├── docker-compose.yml
├── proto
│ └── token.proto
└── go.mod
├── mux-elasticsearch
├── .gitignore
├── main.go
├── go.mod
├── Dockerfile
└── keploy.yml
├── fasthttp-postgres
├── .gitignore
├── img
│ ├── testcases.png
│ └── testrun.png
├── main.go
├── docker-compose.yaml
├── go.mod
└── internal
│ ├── entity
│ └── model.go
│ └── repository
│ └── statements.go
├── go-redis
└── .gitignore
├── http-pokeapi
├── keploy
│ └── .gitignore
├── http-pokeapi
├── go.mod
├── go.sum
├── docker-compose.yaml
├── Dockerfile
├── .github
│ └── workflows
│ │ └── keploy.yml
├── middleware.go
├── location.go
├── response.go
└── keploy.yml
├── users-profile
├── .gitignore
├── .env
├── image.png
├── assets
│ ├── noise.png
│ ├── test-runs.png
│ ├── GET-request.png
│ ├── POST-request.png
│ └── keploy-test-cases.png
├── Dockerfile
├── docker-compose.yml
├── routes
│ └── user_routes.go
├── configs
│ └── load_env.go
├── responses
│ └── user_responses.go
└── models
│ └── user_model.go
├── go-jwt
├── .gitignore
├── docker-compose.yaml
└── Dockerfile
├── tls-dadjoke
└── go.mod
├── go-twilio
├── .gitignore
├── images
│ └── image.png
└── .env.example
├── grpc-apps
└── multi-proto
│ ├── server
│ ├── keploy
│ │ ├── .gitignore
│ │ └── test-set-0
│ │ │ └── mappings.yaml
│ └── go.mod
│ └── protos
│ ├── go.mod
│ ├── generate.sh
│ └── svc
│ └── v1
│ ├── user.proto
│ └── product.proto
├── gin-mongo
├── .gitignore
├── img
│ ├── testrun.png
│ ├── testcase.png
│ ├── testrun-fail-1.png
│ ├── testrun-fail-2.png
│ └── testrun-coverage.png
├── coverage-reports
│ └── covmeta.aec2cd2c23ae3a631bc6bc2a526c987b
└── docker-compose.yaml
├── echo-sql
├── .gitignore
├── img
│ ├── coverage.png
│ ├── testrun.png
│ └── testcases.png
├── keploy
│ └── testReports
│ │ ├── report-1.yaml
│ │ ├── report-2.yaml
│ │ └── report-3.yaml
├── sql
│ └── init.sql
├── Dockerfile
├── go.mod
└── docker-compose.yml
├── S3-Keploy
├── apple.jpg
├── mango.png
├── main.go
└── config
│ └── config.go
├── risk-profile
├── go.mod
└── curl.sh
├── gin-redis
├── img
│ ├── testRunFail.png
│ └── testRunPass.png
├── main.go
├── structure
│ ├── request
│ │ ├── verifyOTP.go
│ │ └── userFeedback.go
│ ├── response
│ │ └── response.go
│ └── struct.go
├── docker-compose.yml
├── services
│ ├── generateOTP.go
│ └── verifyOTP.go
├── Dockerfile
├── utils
│ └── errorResponse.go
├── routes
│ └── routes.go
├── .gitignore
├── helpers
│ ├── email
│ │ └── sendEmail.go
│ └── redis
│ │ └── redisConnect.go
├── controllers
│ └── GET
│ │ └── getVerificationCode.go
└── constants
│ └── contants.go
├── grpc-secret
└── go.mod
├── .gitpod.yml
├── SECURITY.md
└── GITPOD.md
/mux-sql/coverage.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @khareyash05
2 |
--------------------------------------------------------------------------------
/mux-mysql/.gitignore:
--------------------------------------------------------------------------------
1 | app
2 | keploy
--------------------------------------------------------------------------------
/sse-svelte/.gitignore:
--------------------------------------------------------------------------------
1 | app
2 | sse-mongo
--------------------------------------------------------------------------------
/book-store-inventory/keploy/.gitignore:
--------------------------------------------------------------------------------
1 | /reports/
--------------------------------------------------------------------------------
/echo-mysql/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | bin/*
3 |
4 |
--------------------------------------------------------------------------------
/go-dedup/keploy/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | /reports/
3 |
--------------------------------------------------------------------------------
/go-grpc/keploy/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | /reports/
3 |
--------------------------------------------------------------------------------
/graphql-sql/.gitignore:
--------------------------------------------------------------------------------
1 | app
2 | coverage-reports/
--------------------------------------------------------------------------------
/grpc-mongo/keploy/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | /reports/
3 |
--------------------------------------------------------------------------------
/mux-elasticsearch/.gitignore:
--------------------------------------------------------------------------------
1 | mux-elasticsearch
--------------------------------------------------------------------------------
/fasthttp-postgres/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | coverage-reports/
--------------------------------------------------------------------------------
/go-grpc/.gitignore:
--------------------------------------------------------------------------------
1 | grpc-server
2 | grpc-client
3 | app
--------------------------------------------------------------------------------
/go-redis/.gitignore:
--------------------------------------------------------------------------------
1 | goredis
2 | keploy.yml
3 | keploy
--------------------------------------------------------------------------------
/http-pokeapi/keploy/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | /reports/
3 |
--------------------------------------------------------------------------------
/mux-mysql/helpers/urlshortener.go:
--------------------------------------------------------------------------------
1 | package helpers
2 |
--------------------------------------------------------------------------------
/users-profile/.gitignore:
--------------------------------------------------------------------------------
1 | coverage-reports/
2 | app
--------------------------------------------------------------------------------
/go-jwt/.gitignore:
--------------------------------------------------------------------------------
1 | keploy
2 | keploy.yml
3 | go-sample-jwt
--------------------------------------------------------------------------------
/tls-dadjoke/go.mod:
--------------------------------------------------------------------------------
1 | module dadjoke
2 |
3 | go 1.24.2
4 |
--------------------------------------------------------------------------------
/users-profile/.env:
--------------------------------------------------------------------------------
1 | MONGO-DB-URI="mongodb://localhost:27017"
--------------------------------------------------------------------------------
/go-twilio/.gitignore:
--------------------------------------------------------------------------------
1 | .env
2 | keploy.yml
3 | keploy
4 | go-twilio
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/server/keploy/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | /reports/
3 |
--------------------------------------------------------------------------------
/gin-mongo/.gitignore:
--------------------------------------------------------------------------------
1 | test-app-url-shortener
2 | app
3 | coverage-reports/
--------------------------------------------------------------------------------
/mux-sql/.gitignore:
--------------------------------------------------------------------------------
1 | test-app-product-catelog
2 | app
3 | coverage-reports
--------------------------------------------------------------------------------
/echo-sql/.gitignore:
--------------------------------------------------------------------------------
1 | keploy
2 | echo-psql-url-shortener
3 | app
4 | coverage-reports
--------------------------------------------------------------------------------
/S3-Keploy/apple.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/S3-Keploy/apple.jpg
--------------------------------------------------------------------------------
/S3-Keploy/mango.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/S3-Keploy/mango.png
--------------------------------------------------------------------------------
/risk-profile/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/keploy/samples-go/risk-profile
2 |
3 | go 1.24.2
4 |
--------------------------------------------------------------------------------
/sse-svelte/svelte-app/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules/
2 | /public/build/
3 |
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/echo-sql/img/coverage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/echo-sql/img/coverage.png
--------------------------------------------------------------------------------
/echo-sql/img/testrun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/echo-sql/img/testrun.png
--------------------------------------------------------------------------------
/gin-mongo/img/testrun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-mongo/img/testrun.png
--------------------------------------------------------------------------------
/go-grpc/img/image-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/go-grpc/img/image-1.png
--------------------------------------------------------------------------------
/go-grpc/img/image-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/go-grpc/img/image-2.png
--------------------------------------------------------------------------------
/go-grpc/img/image-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/go-grpc/img/image-3.png
--------------------------------------------------------------------------------
/go-grpc/img/image-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/go-grpc/img/image-4.png
--------------------------------------------------------------------------------
/http-pokeapi/http-pokeapi:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/http-pokeapi/http-pokeapi
--------------------------------------------------------------------------------
/mux-sql/img/coverage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/mux-sql/img/coverage.png
--------------------------------------------------------------------------------
/mux-sql/img/mux-utg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/mux-sql/img/mux-utg.png
--------------------------------------------------------------------------------
/mux-sql/img/testcase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/mux-sql/img/testcase.png
--------------------------------------------------------------------------------
/mux-sql/img/testrun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/mux-sql/img/testrun.png
--------------------------------------------------------------------------------
/users-profile/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/users-profile/image.png
--------------------------------------------------------------------------------
/echo-sql/img/testcases.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/echo-sql/img/testcases.png
--------------------------------------------------------------------------------
/gin-mongo/img/testcase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-mongo/img/testcase.png
--------------------------------------------------------------------------------
/go-twilio/images/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/go-twilio/images/image.png
--------------------------------------------------------------------------------
/graphql-sql/img/testrun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/graphql-sql/img/testrun.png
--------------------------------------------------------------------------------
/http-pokeapi/go.mod:
--------------------------------------------------------------------------------
1 | module http-pokeapi
2 |
3 | go 1.22
4 |
5 | require github.com/go-chi/chi v1.5.5
6 |
--------------------------------------------------------------------------------
/sse-svelte/img/testcase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/sse-svelte/img/testcase.png
--------------------------------------------------------------------------------
/sse-svelte/img/testrun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/sse-svelte/img/testrun.png
--------------------------------------------------------------------------------
/echo-mysql/img/keploy_test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/echo-mysql/img/keploy_test.png
--------------------------------------------------------------------------------
/gin-redis/img/testRunFail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-redis/img/testRunFail.png
--------------------------------------------------------------------------------
/gin-redis/img/testRunPass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-redis/img/testRunPass.png
--------------------------------------------------------------------------------
/graphql-sql/img/testcases.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/graphql-sql/img/testcases.png
--------------------------------------------------------------------------------
/graphql-sql/img/testfailed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/graphql-sql/img/testfailed.png
--------------------------------------------------------------------------------
/users-profile/assets/noise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/users-profile/assets/noise.png
--------------------------------------------------------------------------------
/echo-mysql/img/keploy_record.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/echo-mysql/img/keploy_record.png
--------------------------------------------------------------------------------
/gin-mongo/img/testrun-fail-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-mongo/img/testrun-fail-1.png
--------------------------------------------------------------------------------
/gin-mongo/img/testrun-fail-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-mongo/img/testrun-fail-2.png
--------------------------------------------------------------------------------
/mux-sql/img/mux-utg-codecov.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/mux-sql/img/mux-utg-codecov.png
--------------------------------------------------------------------------------
/fasthttp-postgres/img/testcases.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/fasthttp-postgres/img/testcases.png
--------------------------------------------------------------------------------
/fasthttp-postgres/img/testrun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/fasthttp-postgres/img/testrun.png
--------------------------------------------------------------------------------
/gin-mongo/img/testrun-coverage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-mongo/img/testrun-coverage.png
--------------------------------------------------------------------------------
/users-profile/assets/test-runs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/users-profile/assets/test-runs.png
--------------------------------------------------------------------------------
/users-profile/assets/GET-request.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/users-profile/assets/GET-request.png
--------------------------------------------------------------------------------
/users-profile/assets/POST-request.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/users-profile/assets/POST-request.png
--------------------------------------------------------------------------------
/sse-svelte/svelte-app/public/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/sse-svelte/svelte-app/public/favicon.png
--------------------------------------------------------------------------------
/book-store-inventory/DB/book_inventory.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/DB/book_inventory.db
--------------------------------------------------------------------------------
/go-twilio/.env.example:
--------------------------------------------------------------------------------
1 | TWILIO_ACCOUNT_SID=your_account_sid
2 | TWILIO_AUTH_TOKEN=your_auth_token
3 | TWILIO_NUMBER=your_twilio_phone_number
--------------------------------------------------------------------------------
/users-profile/assets/keploy-test-cases.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/users-profile/assets/keploy-test-cases.png
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/add_book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/add_book.png
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/all_books.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/all_books.png
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/book_by_id.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/book_by_id.png
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/delete_book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/delete_book.png
--------------------------------------------------------------------------------
/mux-sql/go.mod:
--------------------------------------------------------------------------------
1 | module test-app-product-catelog
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/gorilla/mux v1.8.0
7 | github.com/lib/pq v1.10.9
8 | )
9 |
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/keploy_test_run_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/keploy_test_run_1.png
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/keploy_test_run_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/keploy_test_run_2.png
--------------------------------------------------------------------------------
/go-dedup/docker-compose.yml:
--------------------------------------------------------------------------------
1 | services:
2 | app:
3 | build:
4 | context: .
5 | container_name: dedup-go
6 | ports:
7 | - "8080:8080"
8 |
--------------------------------------------------------------------------------
/book-store-inventory/docs/assets/keploy_test_capture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/book-store-inventory/docs/assets/keploy_test_capture.png
--------------------------------------------------------------------------------
/echo-sql/keploy/testReports/report-1.yaml:
--------------------------------------------------------------------------------
1 | version: api.keploy.io/v1beta1
2 | name: report-1
3 | status: RUNNING
4 | success: 0
5 | failure: 0
6 | total: 1
7 | test_set: ""
8 |
--------------------------------------------------------------------------------
/echo-sql/keploy/testReports/report-2.yaml:
--------------------------------------------------------------------------------
1 | version: api.keploy.io/v1beta1
2 | name: report-2
3 | status: RUNNING
4 | success: 0
5 | failure: 0
6 | total: 1
7 | test_set: ""
8 |
--------------------------------------------------------------------------------
/echo-sql/keploy/testReports/report-3.yaml:
--------------------------------------------------------------------------------
1 | version: api.keploy.io/v1beta1
2 | name: report-3
3 | status: RUNNING
4 | success: 0
5 | failure: 0
6 | total: 1
7 | test_set: ""
8 |
--------------------------------------------------------------------------------
/echo-mysql/.env:
--------------------------------------------------------------------------------
1 | MYSQL_USER=root
2 | MYSQL_PASSWORD=password
3 | MYSQL_HOST=localhost
4 | MYSQL_PORT=3306
5 | MYSQL_DBNAME=uss
6 | MYSQL_SSL_MODE=production
7 | MYSQL_SSL_CA=./certs/ca.pem
--------------------------------------------------------------------------------
/gin-mongo/coverage-reports/covmeta.aec2cd2c23ae3a631bc6bc2a526c987b:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/gin-mongo/coverage-reports/covmeta.aec2cd2c23ae3a631bc6bc2a526c987b
--------------------------------------------------------------------------------
/http-pokeapi/go.sum:
--------------------------------------------------------------------------------
1 | github.com/go-chi/chi v1.5.5 h1:vOB/HbEMt9QqBqErz07QehcOKHaWFtuj87tTDVz2qXE=
2 | github.com/go-chi/chi v1.5.5/go.mod h1:C9JqLr3tIYjDOZpzn+BCuxY8z8vmca43EeMgyZt7irw=
3 |
--------------------------------------------------------------------------------
/http-pokeapi/docker-compose.yaml:
--------------------------------------------------------------------------------
1 | version: '3'
2 | services:
3 | http-pokeapi:
4 | build:
5 | context: .
6 | dockerfile: Dockerfile
7 | ports:
8 | - "8080:8080"
--------------------------------------------------------------------------------
/sse-svelte/coverage-reports/covmeta.574c4db499991fd64db086c9e3d38e60:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/sse-svelte/coverage-reports/covmeta.574c4db499991fd64db086c9e3d38e60
--------------------------------------------------------------------------------
/sse-svelte/coverage-reports/covmeta.7ce172d36cc6e23d0b04e6253f0aebaa:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/sse-svelte/coverage-reports/covmeta.7ce172d36cc6e23d0b04e6253f0aebaa
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/server/keploy/test-set-0/mappings.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: TestMocksMapping
4 | test_set_id: test-set-0
5 | tests: []
6 |
--------------------------------------------------------------------------------
/gin-redis/main.go:
--------------------------------------------------------------------------------
1 | // Package main initates the server
2 | package main
3 |
4 | import (
5 | "github.com/keploy/gin-redis/server"
6 | )
7 |
8 | func main() {
9 | server.Init()
10 | }
11 |
--------------------------------------------------------------------------------
/gin-redis/structure/request/verifyOTP.go:
--------------------------------------------------------------------------------
1 | package requeststruct
2 |
3 | type OTPRequest struct {
4 | OTP int `json:"otp" binding:"required"`
5 | Email string `json:"email" binding:"required"`
6 | }
7 |
--------------------------------------------------------------------------------
/mux-sql/sql/init.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE products
2 | (
3 | id SERIAL,
4 | name TEXT NOT NULL,
5 | price NUMERIC(10,2) NOT NULL DEFAULT 0.00,
6 | CONSTRAINT products_pkey PRIMARY KEY (id)
7 | )
--------------------------------------------------------------------------------
/mux-mysql/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/heyyakash/keploy-go-samples
2 |
3 | go 1.21.3
4 |
5 | require (
6 | github.com/go-sql-driver/mysql v1.7.1 // indirect
7 | github.com/gorilla/mux v1.8.1 // indirect
8 | )
9 |
--------------------------------------------------------------------------------
/sse-svelte/svelte-app/src/main.js:
--------------------------------------------------------------------------------
1 | import App from './App.svelte';
2 |
3 | const app = new App({
4 | target: document.body,
5 | props: {
6 | name: 'world'
7 | }
8 | });
9 |
10 | export default app;
--------------------------------------------------------------------------------
/mux-sql/env-test:
--------------------------------------------------------------------------------
1 | export APP_DB_USERNAME=postgres
2 | export APP_DB_PASSWORD=password
3 | export APP_DB_NAME=postgres
4 |
5 | export TEST_DB_USERNAME=$APP_DB_USERNAME
6 | export TEST_DB_PASSWORD=$APP_DB_PASSWORD
7 | export TEST_DB_NAME=$APP_DB_NAME
--------------------------------------------------------------------------------
/sse-svelte/coverage-reports/covcounters.7ce172d36cc6e23d0b04e6253f0aebaa.119266.1719215138973638828:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/keploy/samples-go/HEAD/sse-svelte/coverage-reports/covcounters.7ce172d36cc6e23d0b04e6253f0aebaa.119266.1719215138973638828
--------------------------------------------------------------------------------
/graphql-sql/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/sonichigo/keploy-gql
2 |
3 | go 1.20
4 |
5 | require (
6 | github.com/go-chi/chi v1.5.4
7 | github.com/graphql-go/graphql v0.8.1
8 | github.com/graphql-go/handler v0.2.3
9 | github.com/lib/pq v1.10.9
10 | )
--------------------------------------------------------------------------------
/http-pokeapi/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM --platform=linux/amd64 debian:stable-slim
2 |
3 | RUN apt-get update && apt-get install -y ca-certificates
4 |
5 | ADD http-pokeapi /usr/bin/http-pokeapi
6 |
7 | EXPOSE 8080
8 |
9 | CMD ["http-pokeapi"]
10 |
--------------------------------------------------------------------------------
/grpc-mongo/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "3.8"
2 | services:
3 | mongo:
4 | image: mongo:7
5 | container_name: mongo
6 | ports:
7 | - "27017:27017"
8 | volumes:
9 | - mongo-data:/data/db
10 | volumes:
11 | mongo-data:
12 |
--------------------------------------------------------------------------------
/echo-sql/sql/init.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE IF NOT EXISTS url_map (
2 | id char(8) NOT NULL,
3 | redirect_url varchar(150) NOT NULL UNIQUE,
4 | created_at timestamp WITHOUT time zone NOT NULL,
5 | updated_at timestamp WITHOUT time zone NOT NULL,
6 | PRIMARY KEY(id)
7 | );
--------------------------------------------------------------------------------
/book-store-inventory/pkg/utils/constants.go:
--------------------------------------------------------------------------------
1 | // Package utils contains constant to be used across the application
2 | package utils
3 |
4 | // TODO:
5 | // replace all with env variable
6 |
7 | var PORT = ":9090"
8 | var ROUTER_PREFIX = "/api"
9 | var ROUTER_PREFIX_VERSION = "/v1"
10 |
--------------------------------------------------------------------------------
/book-store-inventory/pkg/handlers/test_handler.go:
--------------------------------------------------------------------------------
1 | package handlers
2 |
3 | import (
4 | "net/http"
5 |
6 | "github.com/gin-gonic/gin"
7 | )
8 |
9 | func TestAPI(ctx *gin.Context) {
10 | ctx.JSON(http.StatusOK, gin.H{
11 | "message": "API Working 💞 [Private route]",
12 | })
13 | }
14 |
--------------------------------------------------------------------------------
/go-jwt/docker-compose.yaml:
--------------------------------------------------------------------------------
1 | version: '3.8'
2 |
3 | services:
4 | db:
5 | image: postgres
6 | container_name: postgres
7 | environment:
8 | POSTGRES_USER: postgres
9 | POSTGRES_PASSWORD: postgres
10 | POSTGRES_DB: postgres
11 | ports:
12 | - "5432:5432"
13 |
--------------------------------------------------------------------------------
/fasthttp-postgres/main.go:
--------------------------------------------------------------------------------
1 | // Package main is the entry point of the application.
2 | package main
3 |
4 | import (
5 | "fasthttp-postgres/internal/app"
6 | "log"
7 | )
8 |
9 | func main() {
10 | err := app.InitApp()
11 | if err != nil {
12 | log.Fatalf("Error occured: %s\n", err)
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/mux-mysql/helpers/getConnectionString.go:
--------------------------------------------------------------------------------
1 | package helpers
2 |
3 | import (
4 | "log"
5 | "os"
6 | )
7 |
8 | func GetDBConnectionString() string {
9 | value := os.Getenv("ConnectionString")
10 | if value == "" {
11 | log.Println("Connection string empty")
12 | os.Exit(1)
13 | }
14 | return value
15 | }
16 |
--------------------------------------------------------------------------------
/gin-redis/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.7'
2 | services:
3 | go-app:
4 | build:
5 | context: .
6 | container_name: ginRedisApp
7 | ports:
8 | - "3001:3001"
9 | depends_on:
10 | - redis
11 | redis:
12 | image: redis
13 | container_name: myredis
14 | ports:
15 | - "6379:6379"
--------------------------------------------------------------------------------
/mux-sql/go.sum:
--------------------------------------------------------------------------------
1 | github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
2 | github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
3 | github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
4 | github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
5 |
--------------------------------------------------------------------------------
/sse-svelte/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "3.9"
2 | services:
3 | go-app:
4 | build:
5 | context: .
6 | container_name: sseMongoApp
7 | ports:
8 | - "3500:3500"
9 | depends_on:
10 | - mongo
11 |
12 | mongo:
13 | image: "mongo"
14 | container_name: mongoDB
15 | ports:
16 | - "27017:27017"
--------------------------------------------------------------------------------
/mux-mysql/go.sum:
--------------------------------------------------------------------------------
1 | github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
2 | github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
3 | github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
4 | github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
5 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | contact_links:
2 | - name: Help and support
3 | url: https://github.com/keploy/keploy#community-support
4 | about: Reach out to us on our Slack channel or Discourse discussions or GitHub discussions.
5 | - name: Dedicated support
6 | url: mailto:hello@keploy.io
7 | about: Write to us if you'd like dedicated support using Keploy
--------------------------------------------------------------------------------
/book-store-inventory/pkg/middleware/basic_auth.go:
--------------------------------------------------------------------------------
1 | // Package middleware contains basic user and pass middleware for testing private routes
2 | package middleware
3 |
4 | import "github.com/gin-gonic/gin"
5 |
6 | func BasicAuthMiddleware() gin.HandlerFunc {
7 |
8 | return gin.BasicAuth(gin.Accounts{
9 | "saket": "1234",
10 | "maurya": "1234",
11 | })
12 | }
13 |
--------------------------------------------------------------------------------
/mux-elasticsearch/main.go:
--------------------------------------------------------------------------------
1 | // Package main starts the application.
2 | package main
3 |
4 | import (
5 | "log"
6 | "os"
7 | )
8 |
9 | func main() {
10 | a := &App{}
11 | err := a.Initialize()
12 | if err != nil {
13 | log.Printf("Failed to initialize app %s", err)
14 | os.Exit(1)
15 | }
16 | log.Printf("😃 Connected to 8000 port !!")
17 | a.Run(":8000")
18 | }
19 |
--------------------------------------------------------------------------------
/echo-mysql/custom.cnf:
--------------------------------------------------------------------------------
1 | [mysqld]
2 | ssl_ca=/etc/mysql/certs/ca.pem
3 | ssl_cert=/etc/mysql/certs/server-cert.pem
4 | ssl_key=/etc/mysql/certs/server-key.pem
5 | require_secure_transport=ON
6 | ssl_cipher=ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384
7 | tls_ciphersuites=TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
8 |
--------------------------------------------------------------------------------
/gin-redis/services/generateOTP.go:
--------------------------------------------------------------------------------
1 | // Package services implement the OTP services for verification of user
2 | package services
3 |
4 | import (
5 | "math/rand"
6 | "time"
7 | )
8 |
9 | func GenerateOTP() int {
10 | source := rand.NewSource(time.Now().UnixNano())
11 | randomGenerator := rand.New(source)
12 | randomNumber := randomGenerator.Intn(9000) + 1000
13 | return randomNumber
14 | }
15 |
--------------------------------------------------------------------------------
/graphql-sql/sql/init.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE IF NOT EXISTS authors
2 | (
3 | id serial PRIMARY KEY,
4 | name varchar(100) NOT NULL,
5 | email varchar(150) NOT NULL,
6 | created_at date
7 | );
8 |
9 | CREATE TABLE IF NOT EXISTS posts
10 | (
11 | id serial PRIMARY KEY,
12 | title varchar(100) NOT NULL,
13 | content text NOT NULL,
14 | author_id int,
15 | created_at date
16 | );
--------------------------------------------------------------------------------
/gin-redis/structure/response/response.go:
--------------------------------------------------------------------------------
1 | // Package responsestruct contains struct for api response
2 | package responsestruct
3 |
4 | type SuccessResponse struct {
5 | Status string `json:"status,omitempty"`
6 | Token string `json:"token,omitempty"`
7 | Username string `json:"username,omitempty"`
8 | Message string `json:"message,omitempty"`
9 | OTP string `json:"otp,omitempty"`
10 | }
11 |
--------------------------------------------------------------------------------
/mux-mysql/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang:1.21.4-alpine AS build
2 | RUN mkdir /app
3 | COPY . /app
4 | WORKDIR /app
5 |
6 | ENV ConnectionString="root:my-secret-pw@tcp(mysql:3306)/mysql"
7 |
8 | RUN go build -o main .
9 | RUN chmod +x /app/main
10 |
11 | #### Stage 2
12 | FROM scratch
13 | COPY --from=build /app/main /main
14 | ENV ConnectionString="root:my-secret-pw@tcp(mysql:3306)/mysql"
15 | ENTRYPOINT [ "/main" ]
--------------------------------------------------------------------------------
/echo-mysql/docker-compose.yml:
--------------------------------------------------------------------------------
1 | services:
2 | db-ssl:
3 | image: mysql:latest
4 | container_name: mysql-container
5 | restart: always
6 | environment:
7 | MYSQL_ROOT_PASSWORD: password
8 | MYSQL_DATABASE: uss
9 | ports:
10 | - "3306:3306"
11 | volumes:
12 | - ./certs:/etc/mysql/certs:ro
13 | - ./custom.cnf:/etc/mysql/conf.d/custom.cnf:ro
14 | user: "999:999"
15 |
--------------------------------------------------------------------------------
/grpc-secret/go.mod:
--------------------------------------------------------------------------------
1 | module grpc-secrets-sample
2 |
3 | go 1.25.0
4 |
5 | require (
6 | google.golang.org/grpc v1.76.0
7 | google.golang.org/protobuf v1.36.10
8 | )
9 |
10 | require (
11 | golang.org/x/net v0.42.0 // indirect
12 | golang.org/x/sys v0.34.0 // indirect
13 | golang.org/x/text v0.27.0 // indirect
14 | google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
15 | )
16 |
--------------------------------------------------------------------------------
/mux-mysql/helpers/checkValidUrl.go:
--------------------------------------------------------------------------------
1 | // Package helpers contains the utility functions
2 | package helpers
3 |
4 | import (
5 | "log"
6 | "regexp"
7 | "strings"
8 | )
9 |
10 | func CheckValidURL(link string) bool {
11 | r, err := regexp.Compile("^(http|https)://")
12 | if err != nil {
13 | log.Print(err)
14 | return false
15 | }
16 | link = strings.TrimSpace(link)
17 | return r.MatchString(link)
18 | }
19 |
--------------------------------------------------------------------------------
/gin-redis/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use an official Golang runtime as a parent image
2 | FROM golang:1.20
3 |
4 | # Set the working directory inside the container
5 | WORKDIR /app
6 |
7 | # Copy the local package files to the container's workspace
8 | COPY . .
9 |
10 | # Build the Go application
11 | RUN go build -o main .
12 |
13 | # Expose port 3001
14 | EXPOSE 3001
15 |
16 | # Command to run the Go application
17 | CMD ["./main"]
--------------------------------------------------------------------------------
/echo-sql/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use an official Golang runtime as a parent image
2 | FROM golang:1.20-bookworm
3 |
4 | # Set the working directory inside the container
5 | WORKDIR /app
6 |
7 | # Copy the local package files to the container's workspace
8 | COPY . .
9 |
10 | # Build the Go application
11 | RUN go build -o main .
12 |
13 | # Expose port 8080
14 | EXPOSE 8080
15 |
16 | # Command to run the Go application
17 | CMD ["./main"]
--------------------------------------------------------------------------------
/sse-svelte/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use an official Golang runtime as a parent image
2 | FROM golang:1.20-bookworm
3 |
4 | # Set the working directory inside the container
5 | WORKDIR /app
6 |
7 | # Copy the local package files to the container's workspace
8 | COPY . .
9 |
10 | # Build the Go application
11 | RUN go build -o main .
12 |
13 | # Expose port 8080
14 | EXPOSE 3500
15 |
16 | # Command to run the Go application
17 | CMD ["./main"]
--------------------------------------------------------------------------------
/users-profile/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use an official Golang runtime as a parent image
2 | FROM golang:1.20-bookworm
3 |
4 | # Set the working directory inside the container
5 | WORKDIR /app
6 |
7 | # Copy the local package files to the container's workspace
8 | COPY . .
9 |
10 | # Build the Go application
11 | RUN go build -o main .
12 |
13 | # Expose port 8080
14 | EXPOSE 8080
15 |
16 | # Command to run the Go application
17 | CMD ["./main"]
--------------------------------------------------------------------------------
/fasthttp-postgres/docker-compose.yaml:
--------------------------------------------------------------------------------
1 | version: '3.7'
2 | services:
3 | postgres:
4 | image: postgres:10.5
5 | container_name: postgresDB
6 | restart: always
7 | environment:
8 | - POSTGRES_DB=db
9 | - POSTGRES_USER=postgres
10 | - POSTGRES_PASSWORD=password
11 | ports:
12 | - '5432:5432'
13 | volumes:
14 | - ./migrations:/docker-entrypoint-initdb.d
--------------------------------------------------------------------------------
/echo-mysql/certs/openssl.cnf:
--------------------------------------------------------------------------------
1 | [req]
2 | distinguished_name = req_distinguished_name
3 | req_extensions = v3_req
4 | prompt = no
5 |
6 | [req_distinguished_name]
7 | CN = mysql-server
8 |
9 | [v3_req]
10 | keyUsage = keyEncipherment, dataEncipherment
11 | extendedKeyUsage = serverAuth
12 | subjectAltName = @alt_names
13 |
14 | [alt_names]
15 | DNS.1 = localhost
16 | DNS.2 = mysql
17 | DNS.3 = mysql-container-ssl
18 | IP.1 = 127.0.0.1
19 | IP.2 = ::1
20 |
--------------------------------------------------------------------------------
/fasthttp-postgres/go.mod:
--------------------------------------------------------------------------------
1 | module fasthttp-postgres
2 |
3 | go 1.20
4 |
5 | require (
6 | github.com/fasthttp/router v1.4.18
7 | github.com/lib/pq v1.10.0
8 | github.com/valyala/fasthttp v1.45.0
9 | )
10 |
11 | require (
12 | github.com/andybalholm/brotli v1.0.5 // indirect
13 | github.com/klauspost/compress v1.16.3 // indirect
14 | github.com/savsgio/gotils v0.0.0-20230208104028-c358bd845dee // indirect
15 | github.com/valyala/bytebufferpool v1.0.0 // indirect
16 | )
17 |
--------------------------------------------------------------------------------
/go-grpc/Dockerfile.grpcserver:
--------------------------------------------------------------------------------
1 | # Build stage
2 | FROM golang:1.23.4 AS builder
3 |
4 | # Set the working directory inside the container
5 | WORKDIR /app
6 |
7 | # Copy go module files and download dependencies
8 | COPY . .
9 |
10 | # Download dependencies
11 | RUN go mod tidy
12 |
13 | # Build the binary
14 | RUN go build -o grpc-server .
15 |
16 | # Expose the gRPC server port
17 | EXPOSE 50051
18 |
19 | # Set the entry point to run the server
20 | CMD ["./grpc-server"]
21 |
--------------------------------------------------------------------------------
/grpc-mongo/proto/token.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package tokenpb;
4 | option go_package = "example.com/grpc-mongo-pipeline/proto;proto";
5 |
6 | service TokenService {
7 | rpc SeedTokens(SeedRequest) returns (Ack);
8 | rpc NextToken(NextTokenRequest) returns (TokenReply);
9 | }
10 |
11 | message SeedRequest { repeated string tokens = 1; }
12 | message Ack { bool ok = 1; string message = 2; }
13 | message NextTokenRequest {}
14 | message TokenReply { string token = 1; }
15 |
--------------------------------------------------------------------------------
/go-grpc/Dockerfile.grpcclient:
--------------------------------------------------------------------------------
1 | # Build stage
2 | FROM golang:1.23.4 AS builder
3 |
4 | # Set the working directory inside the container
5 | WORKDIR /app
6 |
7 | # Copy go module files and download dependencies
8 | COPY . .
9 |
10 | # Download dependencies
11 | RUN go mod tidy
12 |
13 | # Build the binary
14 | RUN go build -o grpc-client ./client
15 |
16 | # Expose the gRPC client port
17 | EXPOSE 8080
18 |
19 | # Set the entry point to run both the client
20 | CMD ["./grpc-client"]
21 |
--------------------------------------------------------------------------------
/gin-mongo/docker-compose.yaml:
--------------------------------------------------------------------------------
1 | version: "3.9"
2 | services:
3 | go-app:
4 | build:
5 | context: .
6 | container_name: ginMongoApp
7 | ports:
8 | - "8080:8080"
9 | depends_on:
10 | - mongo
11 | networks:
12 | - keploy-network
13 |
14 | mongo:
15 | image: "mongo"
16 | container_name: mongoDB
17 | ports:
18 | - "27017:27017"
19 | networks:
20 | - keploy-network
21 |
22 | networks:
23 | keploy-network:
24 | external: true
--------------------------------------------------------------------------------
/sse-svelte/svelte-app/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Svelte app
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/users-profile/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "3.9"
2 | services:
3 | go-app:
4 | build:
5 | context: .
6 | container_name: userProfileApp
7 | ports:
8 | - "8080:8080"
9 | depends_on:
10 | - mongo
11 | networks:
12 | - keploy-network
13 |
14 | mongo:
15 | image: "mongo"
16 | container_name: mongoDb
17 | ports:
18 | - "27017:27017"
19 | networks:
20 | - keploy-network
21 |
22 | networks:
23 | keploy-network:
24 | external: true
--------------------------------------------------------------------------------
/fasthttp-postgres/internal/entity/model.go:
--------------------------------------------------------------------------------
1 | // Package entity defines the data models for the application, including authors and books.
2 | package entity
3 |
4 | type Author struct {
5 | ID uint `json:"id" db:"id"`
6 | FirstName string `json:"first_name" db:"first_name"`
7 | LastName string `json:"last_name" db:"last_name"`
8 | }
9 |
10 | type Book struct {
11 | ID uint `json:"id"`
12 | Title string `json:"title"`
13 | Year int `json:"year"`
14 | Author Author `json:"author"`
15 | }
16 |
--------------------------------------------------------------------------------
/S3-Keploy/main.go:
--------------------------------------------------------------------------------
1 | // Package main starts the application
2 | package main
3 |
4 | import (
5 | "S3-Keploy/config"
6 | "S3-Keploy/routes"
7 | "log"
8 | "os"
9 | "time"
10 |
11 | "github.com/gofiber/fiber/v2"
12 | )
13 |
14 | func main() {
15 | time.Sleep(2 * time.Second)
16 | awsService := config.Configuration()
17 |
18 | app := fiber.New()
19 |
20 | routes.Register(app, awsService)
21 |
22 | err := app.Listen(":3000")
23 | if err != nil {
24 | log.Printf("%s", err)
25 | os.Exit(1)
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/protos/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/keploy/samples-go/grpc-apps/multi-proto/protos
2 |
3 | go 1.21
4 |
5 | require (
6 | google.golang.org/grpc v1.59.0
7 | google.golang.org/protobuf v1.31.0
8 | )
9 |
10 | require (
11 | github.com/golang/protobuf v1.5.3 // indirect
12 | golang.org/x/net v0.18.0 // indirect
13 | golang.org/x/sys v0.14.0 // indirect
14 | golang.org/x/text v0.14.0 // indirect
15 | google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
16 | )
17 |
--------------------------------------------------------------------------------
/http-pokeapi/.github/workflows/keploy.yml:
--------------------------------------------------------------------------------
1 | name: Keploy
2 | on:
3 | push:
4 | branches: [main, master]
5 | pull_request:
6 | types: [opened, reopened, synchronize]
7 | jobs:
8 | e2e-test:
9 | runs-on: ubuntu-latest
10 | steps:
11 | - name: Checkout
12 | uses: actions/checkout@v4
13 | - name: Test-Report
14 | uses: keploy/testgpt@main
15 | with:
16 | working-directory: ./
17 | keploy-path: ./
18 | command: ./http-pokeapi
--------------------------------------------------------------------------------
/mux-elasticsearch/go.mod:
--------------------------------------------------------------------------------
1 | module mux-elasticsearch
2 |
3 | go 1.22
4 |
5 | require (
6 | github.com/elastic/elastic-transport-go/v8 v8.6.0 // indirect
7 | github.com/elastic/go-elasticsearch/v8 v8.14.0 // indirect
8 | github.com/go-logr/logr v1.4.1 // indirect
9 | github.com/go-logr/stdr v1.2.2 // indirect
10 | github.com/gorilla/mux v1.8.1 // indirect
11 | go.opentelemetry.io/otel v1.24.0 // indirect
12 | go.opentelemetry.io/otel/metric v1.24.0 // indirect
13 | go.opentelemetry.io/otel/trace v1.24.0 // indirect
14 | )
15 |
--------------------------------------------------------------------------------
/gin-redis/utils/errorResponse.go:
--------------------------------------------------------------------------------
1 | // Package utils contains the utility functions
2 | package utils
3 |
4 | import "github.com/keploy/gin-redis/constants"
5 |
6 | func SendErrorResponse(err error) interface{} {
7 | return map[string]interface{}{
8 | "status": constants.API_FAILED_STATUS,
9 | "message": err.Error(),
10 | }
11 | }
12 |
13 | func SendCustomErrorResponse(errMessage string) interface{} {
14 | return map[string]interface{}{
15 | "status": constants.API_FAILED_STATUS,
16 | "message": errMessage,
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/http-pokeapi/middleware.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "net/http"
4 |
5 | func corsmiddleware(app http.Handler) http.Handler {
6 | return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
7 | w.Header().Set("Access-Control-Allow-Origin", "*")
8 | w.Header().Set("Access-Control-Allow-Methods", "GET,POST,OPTIONS,PUT,DELETE")
9 | w.Header().Set("Access-Control-Allow-Headers", "*")
10 | if r.Method == "OPTIONS" {
11 | w.WriteHeader(http.StatusOK)
12 | return
13 | }
14 | app.ServeHTTP(w, r)
15 | })
16 | }
17 |
--------------------------------------------------------------------------------
/.gitpod.yml:
--------------------------------------------------------------------------------
1 | tasks:
2 | - name: keploy-server
3 | openMode: split-right
4 | before: |
5 | curl --silent --location "https://github.com/keploy/keploy/releases/latest/download/keploy_linux_amd64.tar.gz" | tar xz -C /tmp
6 | sudo mv /tmp/keploy /usr/local/bin && keploy
7 | - name: echo-sql-sample-application
8 | openMode: split-right
9 | before: |
10 | cd echo-sql && go mod download
11 | init: |
12 | docker-compose up -d
13 | command: |
14 | export KEPLOY_MODE=record && go run handler.go main.go
--------------------------------------------------------------------------------
/users-profile/routes/user_routes.go:
--------------------------------------------------------------------------------
1 | // Package routes manage the user-related routes in the application
2 | package routes
3 |
4 | import (
5 | "users-profile/controllers"
6 |
7 | "github.com/gin-gonic/gin"
8 | )
9 |
10 | func UserRoute(router *gin.Engine) {
11 | router.POST("/user", controllers.CreateAUser())
12 | router.GET("/user/:userId", controllers.GetAUser())
13 | router.PUT("/user/:userId", controllers.EditAUser())
14 | router.DELETE("/user/:userId", controllers.DeleteAUser())
15 | router.GET("/users", controllers.GetAllUsers())
16 | }
17 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | ## Reporting a Vulnerability
4 |
5 | We value security for the project very highly. We encourage all users to report any vulnerabilities they discover to us.
6 | If you find a security vulnerability in the Keploy project, please report it responsibly by sending an email to hello@keploy.io
7 |
8 | At this juncture, we don't have a bug bounty program. We are a small team trying to solve a big problem. We urge you to report any vulnerabilities responsibly
9 | so that we can continue building a secure application for the entire community.
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/protos/generate.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Exit on error
4 | set -e
5 |
6 | echo "Generating Go code from proto files..."
7 |
8 | # Generate Go code for svc/v1 proto files
9 | # -I. includes the current directory (protos/)
10 | # -I../third_party includes the third_party directory at multi-proto root
11 | protoc --go_out=. --go_opt=paths=source_relative \
12 | --go-grpc_out=. --go-grpc_opt=paths=source_relative \
13 | -I. \
14 | -I../third_party \
15 | svc/v1/*.proto
16 |
17 | echo "✓ Proto files generated successfully!"
18 |
--------------------------------------------------------------------------------
/mux-mysql/models/request.go:
--------------------------------------------------------------------------------
1 | // Package models contains the structs and models for request and response
2 | package models
3 |
4 | type Request struct {
5 | Link string `json:"link"`
6 | }
7 |
8 | type Response struct {
9 | Message string `json:"message"`
10 | Link string `json:"link"`
11 | Status bool `json:"status"`
12 | }
13 | type GETResponse struct {
14 | Message interface{} `json:"message"`
15 | Status bool `json:"status"`
16 | }
17 |
18 | type Table struct {
19 | ID string `json:"id"`
20 | Website string `json:"website"`
21 | }
22 |
--------------------------------------------------------------------------------
/users-profile/configs/load_env.go:
--------------------------------------------------------------------------------
1 | // Package configs implements the function that loads environment variable from .env file
2 | package configs
3 |
4 | import (
5 | "log"
6 | "os"
7 |
8 | "github.com/joho/godotenv"
9 | )
10 |
11 | // EnvMongoURI function that checks if the environment variable is correctly loaded and returns the environment variable.
12 | func EnvMongoURI() string {
13 | err := godotenv.Load()
14 | if err != nil {
15 | log.Println("Error loading .env file")
16 | os.Exit(1)
17 | }
18 |
19 | return os.Getenv("MONGO-DB-URI")
20 | }
21 |
--------------------------------------------------------------------------------
/gin-redis/routes/routes.go:
--------------------------------------------------------------------------------
1 | // Package routes implement router function
2 | package routes
3 |
4 | import (
5 | "github.com/gin-gonic/gin"
6 | get "github.com/keploy/gin-redis/controllers/GET"
7 | post "github.com/keploy/gin-redis/controllers/POST"
8 | "github.com/keploy/gin-redis/helpers/redis"
9 | )
10 |
11 | func NewRouter() *gin.Engine {
12 | redis.Init()
13 | router := gin.New()
14 | v1 := router.Group("/api")
15 |
16 | {
17 | v1.GET("/getVerificationCode", get.VerificationCode)
18 | v1.POST("/verifyCode", post.VerifyCode)
19 | }
20 | return router
21 | }
22 |
--------------------------------------------------------------------------------
/book-store-inventory/.gitignore:
--------------------------------------------------------------------------------
1 | # Binaries and build artifacts
2 | /book-store-inventory
3 | /tmp/
4 | *.exe
5 | *.out
6 | *.test
7 |
8 | # Logs and debugging files
9 | *.log
10 | *.trace
11 |
12 | # Environment and config files
13 | .env
14 | config.yaml
15 |
16 | # Go module files (optional, but recommended for clean repo)
17 | # /go.sum
18 |
19 | # Compiled Python files (if any scripts are used)
20 | __pycache__/
21 | *.pyc
22 | *.pyo
23 | *.pyd
24 |
25 | # OS-specific files
26 | .DS_Store
27 | Thumbs.db
28 |
29 | # Editor and IDE-specific files
30 | .vscode/
31 | .idea/
32 | *.iml
33 |
--------------------------------------------------------------------------------
/gin-redis/.gitignore:
--------------------------------------------------------------------------------
1 | # If you prefer the allow list template instead of the deny list, see community template:
2 | # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3 | #
4 | # Binaries for programs and plugins
5 | *.exe
6 | *.exe~
7 | *.dll
8 | *.so
9 | *.dylib
10 |
11 | # Test binary, built with `go test -c`
12 | *.test
13 |
14 | # Output of the go coverage tool, specifically when used with LiteIDE
15 | *.out
16 | *.env
17 | # Dependency directories (remove the comment below to include it)
18 | # vendor/
19 |
20 | # Go workspace file
21 | go.work
22 |
--------------------------------------------------------------------------------
/go-grpc/docker-compose.yml:
--------------------------------------------------------------------------------
1 | services:
2 | grpc-server:
3 | build:
4 | context: .
5 | dockerfile: Dockerfile.grpcserver
6 | container_name: grpcServer
7 | ports:
8 | - "50051:50051"
9 | networks:
10 | - keploy-network
11 |
12 | grpc-client:
13 | build:
14 | context: .
15 | dockerfile: Dockerfile.grpcclient
16 | container_name: grpcClient
17 | ports:
18 | - "8080:8080"
19 | depends_on:
20 | - grpc-server
21 | networks:
22 | - keploy-network
23 |
24 | networks:
25 | keploy-network:
26 | driver: bridge
--------------------------------------------------------------------------------
/users-profile/responses/user_responses.go:
--------------------------------------------------------------------------------
1 | // Package responses implement the struct to describe the API’s response.
2 | package responses
3 |
4 | // UserResponse struct
5 | // json:"status", json:"message", and json:"data" are known as struct tags.
6 | // Struct tags allow us to attach meta-information to corresponding struct properties.
7 | // In other words, we use them to reformat the JSON response returned by the API.
8 | type UserResponse struct {
9 | Status int `json:"status"`
10 | Message string `json:"message"`
11 | Data map[string]interface{} `json:"data"`
12 | }
13 |
--------------------------------------------------------------------------------
/S3-Keploy/config/config.go:
--------------------------------------------------------------------------------
1 | // Package config implements the configuration function
2 | package config
3 |
4 | import (
5 | "S3-Keploy/bucket"
6 | "context"
7 | "fmt"
8 |
9 | "github.com/aws/aws-sdk-go-v2/config"
10 | "github.com/aws/aws-sdk-go-v2/service/s3"
11 | )
12 |
13 | func Configuration() (awsService bucket.Basics) {
14 | cfg, err := config.LoadDefaultConfig(context.TODO(), config.WithRegion("ap-south-1"))
15 | if err != nil {
16 | fmt.Printf("error: %v", err)
17 | return
18 | }
19 |
20 | awsService = bucket.Basics{
21 | S3Client: s3.NewFromConfig(cfg),
22 | }
23 |
24 | return awsService
25 | }
26 |
--------------------------------------------------------------------------------
/book-store-inventory/pkg/database/db_sqlite.go:
--------------------------------------------------------------------------------
1 | // Package database contains helper functions for initializing and managing database connections.
2 | package database
3 |
4 | import (
5 | "database/sql"
6 | "log"
7 | )
8 |
9 | type Database struct {
10 | DB *sql.DB
11 | }
12 |
13 | func InitializeDatabase(driver, dsn string) (*Database, error) {
14 | db, err := sql.Open(driver, dsn)
15 | if err != nil {
16 | return nil, err
17 | }
18 |
19 | err = db.Ping()
20 | if err != nil {
21 | return nil, err
22 | }
23 |
24 | log.Println("DB Connection Eastablished 🚀")
25 |
26 | return &Database{DB: db}, nil
27 | }
28 |
--------------------------------------------------------------------------------
/mux-sql/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use the Go 1.19 base image with the bullseye tag
2 | FROM golang:1.20-bookworm
3 |
4 |
5 | RUN apt-get update && \
6 | apt-get install -y --no-install-recommends ca-certificates && \
7 | rm -rf /var/lib/apt/lists/*
8 |
9 | # Set the working directory inside the container
10 | WORKDIR /app
11 |
12 | COPY go.mod /app/
13 | COPY go.sum /app/
14 |
15 | RUN go mod download
16 |
17 | # Copy the contents from the local directory to the working directory in the container
18 | COPY . /app
19 |
20 | RUN go build -o app .
21 |
22 | # Run the application server using "go run handler.go main.go"
23 | CMD ["./app"]
--------------------------------------------------------------------------------
/mux-elasticsearch/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use the Go 1.19 base image with the bullseye tag
2 | FROM golang:1.22-bookworm
3 |
4 |
5 | RUN apt-get update && \
6 | apt-get install -y --no-install-recommends ca-certificates && \
7 | rm -rf /var/lib/apt/lists/*
8 |
9 | # Set the working directory inside the container
10 | WORKDIR /app
11 |
12 | COPY go.mod /app/
13 | COPY go.sum /app/
14 |
15 | RUN go mod download
16 |
17 | # Copy the contents from the local directory to the working directory in the container
18 | COPY . /app
19 |
20 | RUN go build -o app .
21 |
22 | # Run the application server using "go run handler.go main.go"
23 | CMD ["./app"]
--------------------------------------------------------------------------------
/graphql-sql/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use the Go 1.19 base image with the bullseye tag
2 | FROM golang:1.20-bookworm
3 |
4 |
5 | RUN apt-get update && \
6 | apt-get install -y --no-install-recommends ca-certificates && \
7 | rm -rf /var/lib/apt/lists/*
8 |
9 | # Set the working directory inside the container
10 | WORKDIR /app
11 |
12 | COPY go.mod /app/
13 | COPY go.sum /app/
14 |
15 | RUN go mod download
16 |
17 | # Copy the contents from the local directory to the working directory in the container
18 | COPY . /app
19 |
20 | RUN go build -o app .
21 |
22 | EXPOSE 8080
23 |
24 | # Run the application server using "go run main.go"
25 | CMD ["./app"]
--------------------------------------------------------------------------------
/gin-redis/structure/request/userFeedback.go:
--------------------------------------------------------------------------------
1 | // Package requeststruct contains structs for api request
2 | package requeststruct
3 |
4 | import "mime/multipart"
5 |
6 | type FeedbackData struct {
7 | Name string `form:"name" binding:"required"`
8 | LinkedIn string `form:"linkedin" binding:"required"`
9 | Post *multipart.FileHeader `form:"post,omitempty"`
10 | Company string `form:"company" binding:"required"`
11 | Feedback string `form:"feedback" binding:"required"`
12 | Influencer interface{} `form:"-"`
13 | ImageLink string `form:"-"`
14 | }
15 |
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/server/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/keploy/samples-go/grpc-apps/multi-proto/server
2 |
3 | go 1.21
4 |
5 | require (
6 | github.com/keploy/samples-go/grpc-apps/multi-proto/protos v0.0.0
7 | google.golang.org/grpc v1.59.0
8 | google.golang.org/protobuf v1.31.0
9 | )
10 |
11 | require (
12 | github.com/golang/protobuf v1.5.3 // indirect
13 | golang.org/x/net v0.18.0 // indirect
14 | golang.org/x/sys v0.14.0 // indirect
15 | golang.org/x/text v0.14.0 // indirect
16 | google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
17 | )
18 |
19 | replace github.com/keploy/samples-go/grpc-apps/multi-proto/protos => ../protos
20 |
--------------------------------------------------------------------------------
/graphql-sql/go.sum:
--------------------------------------------------------------------------------
1 | github.com/go-chi/chi v1.5.4 h1:QHdzF2szwjqVV4wmByUnTcsbIg7UGaQ0tPF2t5GcAIs=
2 | github.com/go-chi/chi v1.5.4/go.mod h1:uaf8YgoFazUOkPBG7fxPftUylNumIev9awIWOENIuEg=
3 | github.com/graphql-go/graphql v0.8.1 h1:p7/Ou/WpmulocJeEx7wjQy611rtXGQaAcXGqanuMMgc=
4 | github.com/graphql-go/graphql v0.8.1/go.mod h1:nKiHzRM0qopJEwCITUuIsxk9PlVlwIiiI8pnJEhordQ=
5 | github.com/graphql-go/handler v0.2.3 h1:CANh8WPnl5M9uA25c2GBhPqJhE53Fg0Iue/fRNla71E=
6 | github.com/graphql-go/handler v0.2.3/go.mod h1:leLF6RpV5uZMN1CdImAxuiayrYYhOk33bZciaUGaXeU=
7 | github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
8 | github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
--------------------------------------------------------------------------------
/grpc-mongo/keploy/test-set-0/mappings.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2.10.29)
2 | version: api.keploy.io/v1beta1
3 | kind: TestMocksMapping
4 | test_set_id: test-set-0
5 | tests:
6 | - id: test-3
7 | mocks: mock-14
8 | - id: test-4
9 | mocks: mock-3,mock-4
10 | - id: test-9
11 | mocks: mock-7
12 | - id: test-5
13 | mocks: mock-11
14 | - id: test-7
15 | mocks: mock-13
16 | - id: test-8
17 | mocks: mock-5
18 | - id: test-6
19 | mocks: mock-6
20 | - id: test-1
21 | mocks: mock-8
22 | - id: test-2
23 | mocks: mock-9
24 | - id: test-10
25 | mocks: mock-10
26 | - id: test-11
27 | mocks: mock-12
28 |
--------------------------------------------------------------------------------
/mux-sql/main.go:
--------------------------------------------------------------------------------
1 | // Package main starts the application
2 | package main
3 |
4 | import (
5 | "log"
6 | "os"
7 | )
8 |
9 | func handleDeferError(err error) {
10 | if err != nil {
11 | log.Println(err)
12 | }
13 | }
14 |
15 | func main() {
16 | a := &App{}
17 | err := a.Initialize(
18 | "localhost", // postgres host
19 | // "postgres", //Change localhost to postgres when using Docker to run keploy
20 | "postgres", // username
21 | "password", // password
22 | "postgres") // db_name
23 |
24 | if err != nil {
25 | log.Printf("Failed to initialize app %s", err)
26 | os.Exit(1)
27 | }
28 |
29 | log.Printf("😃 Connected to 8010 port !!")
30 |
31 | a.Run(":8010")
32 | }
33 |
--------------------------------------------------------------------------------
/graphql-sql/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.7'
2 | services:
3 | postgres:
4 | image: postgres:10.5
5 | restart: always
6 | container_name: graphql-sql-postgres-1
7 | environment:
8 | - POSTGRES_DB=postgres
9 | - POSTGRES_USER=postgres
10 | - POSTGRES_PASSWORD=password
11 | ports:
12 | - '5432:5432'
13 | volumes:
14 | # - ./postgres-data:/var/lib/postgresql/data
15 | # copy the sql script to create tables
16 | - ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
17 | networks:
18 | - keploy-network
19 |
20 | networks:
21 | keploy-network:
22 | external: true
23 |
--------------------------------------------------------------------------------
/http-pokeapi/location.go:
--------------------------------------------------------------------------------
1 | // Package main provides handlers for location-related API endpoints.
2 | package main
3 |
4 | import "net/http"
5 |
6 | type locationres struct {
7 | Location []string `json:"location"`
8 | }
9 |
10 | func (cfg *apiconfig) FetchLocations(w http.ResponseWriter, _ *http.Request) {
11 | res, err := cfg.client.LocationArearesponse()
12 |
13 | if err != nil {
14 | respondWithError(w, http.StatusInternalServerError, err.Error())
15 | return
16 | }
17 |
18 | var loc []string
19 |
20 | for _, location := range res.Results {
21 | loc = append(loc, location.Name)
22 | }
23 |
24 | respondWithJSON(w, http.StatusOK, locationres{
25 | Location: loc,
26 | })
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/sse-svelte/svelte-app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "svelte-app",
3 | "version": "1.0.0",
4 | "private": true,
5 | "type": "module",
6 | "scripts": {
7 | "build": "rollup -c",
8 | "dev": "rollup -c -w",
9 | "start": "sirv public --no-clear"
10 | },
11 | "devDependencies": {
12 | "@rollup/plugin-commonjs": "^24.0.0",
13 | "@rollup/plugin-node-resolve": "^15.0.0",
14 | "@rollup/plugin-terser": "^0.4.0",
15 | "rollup": "^3.15.0",
16 | "rollup-plugin-css-only": "^4.3.0",
17 | "rollup-plugin-livereload": "^2.0.0",
18 | "rollup-plugin-svelte": "^7.1.2",
19 | "svelte": "^3.55.0"
20 | },
21 | "dependencies": {
22 | "sirv-cli": "^2.0.0"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/protos/svc/v1/user.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package svc.v1;
4 |
5 | option go_package = "github.com/keploy/samples-go/grpc-apps/multi-proto/protos/svc/v1;svcv1";
6 |
7 | import "google/protobuf/timestamp.proto";
8 |
9 | message User {
10 | string id = 1;
11 | string name = 2;
12 | string email = 3;
13 | int32 age = 4;
14 | bool is_active = 5;
15 | double balance = 6;
16 | google.protobuf.Timestamp created_at = 7;
17 | Address address = 8;
18 | repeated string tags = 9;
19 | map metadata = 10;
20 | }
21 |
22 | message Address {
23 | string street = 1;
24 | string city = 2;
25 | string state = 3;
26 | string zip_code = 4;
27 | string country = 5;
28 | }
29 |
--------------------------------------------------------------------------------
/risk-profile/curl.sh:
--------------------------------------------------------------------------------
1 | # Body tests
2 | curl http://localhost:8080/users-low-risk
3 | curl http://localhost:8080/users-medium-risk
4 | curl http://localhost:8080/users-medium-risk-with-addition
5 | curl http://localhost:8080/users-high-risk-type
6 | curl http://localhost:8080/users-high-risk-removal
7 | curl http://localhost:8080/schema-completely-changed
8 |
9 | # Status and Header tests
10 | curl http://localhost:8080/status-change-high-risk
11 | curl http://localhost:8080/content-type-change-high-risk
12 | curl http://localhost:8080/header-change-medium-risk
13 |
14 | # Combined tests
15 | curl http://localhost:8080/status-body-change
16 | curl http://localhost:8080/header-body-change
17 | curl http://localhost:8080/status-body-header-change
--------------------------------------------------------------------------------
/go-jwt/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM golang:1.22
2 |
3 | # Set destination for COPY
4 | WORKDIR /app
5 |
6 | # Download Go modules
7 | COPY go.mod go.sum ./
8 | RUN go mod download
9 |
10 | # Copy the source code. Note the slash at the end, as explained in
11 | # https://docs.docker.com/reference/dockerfile/#copy
12 | ADD https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/assets/go_freeze_time_arm64 /lib/keploy/go_freeze_time_arm64
13 |
14 | #set suitable permissions
15 | RUN chmod +x /lib/keploy/go_freeze_time_arm64
16 |
17 | # run the binary
18 | RUN /lib/keploy/go_freeze_time_arm64
19 | COPY *.go ./
20 |
21 | # Build
22 | RUN CGO_ENABLED=0 GOOS=linux go build -o /jwt-go
23 |
24 | EXPOSE 8000
25 |
26 |
27 | # Run
28 | CMD ["/jwt-go"]
--------------------------------------------------------------------------------
/sse-svelte/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/sonichigo/sse-mongo
2 |
3 | go 1.20
4 |
5 | require go.mongodb.org/mongo-driver v1.13.0
6 |
7 | require (
8 | github.com/golang/snappy v0.0.1 // indirect
9 | github.com/klauspost/compress v1.13.6 // indirect
10 | github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
11 | github.com/xdg-go/pbkdf2 v1.0.0 // indirect
12 | github.com/xdg-go/scram v1.1.2 // indirect
13 | github.com/xdg-go/stringprep v1.0.4 // indirect
14 | github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
15 | golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
16 | golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
17 | golang.org/x/text v0.7.0 // indirect
18 | )
19 |
--------------------------------------------------------------------------------
/sse-svelte/svelte-app/src/App.svelte:
--------------------------------------------------------------------------------
1 |
26 |
27 |
28 | Server Sent Events
29 |
30 | Time: { time }
31 |
--------------------------------------------------------------------------------
/gin-redis/services/verifyOTP.go:
--------------------------------------------------------------------------------
1 | package services
2 |
3 | import (
4 | "context"
5 | "encoding/json"
6 | "errors"
7 |
8 | "github.com/keploy/gin-redis/helpers/redis"
9 | "github.com/keploy/gin-redis/structure"
10 | requeststruct "github.com/keploy/gin-redis/structure/request"
11 | )
12 |
13 | func Verifycode(request requeststruct.OTPRequest) (string, error) {
14 | jsonData, err := redis.Session().Get(context.Background(), request.Email).Result()
15 | if err != nil {
16 | return "", err
17 | }
18 | var data structure.OTPData
19 | err = json.Unmarshal([]byte(jsonData), &data)
20 | if err != nil {
21 | return "", err
22 | }
23 | if data.OTP != request.OTP {
24 | return "", errors.New("OTP didn't match, email isn't verified")
25 | }
26 |
27 | return data.UserName, nil
28 | }
29 |
--------------------------------------------------------------------------------
/grpc-apps/multi-proto/protos/svc/v1/product.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package svc.v1;
4 |
5 | option go_package = "github.com/keploy/samples-go/grpc-apps/multi-proto/protos/svc/v1;svcv1";
6 |
7 | import "google/protobuf/timestamp.proto";
8 |
9 | message Product {
10 | string id = 1;
11 | string name = 2;
12 | string description = 3;
13 | double price = 4;
14 | int32 quantity = 5;
15 | bool in_stock = 6;
16 | repeated string categories = 7;
17 | map attributes = 8;
18 | google.protobuf.Timestamp updated_at = 9;
19 | ProductDetails details = 10;
20 | }
21 |
22 | message ProductDetails {
23 | string manufacturer = 1;
24 | string model = 2;
25 | int32 warranty_months = 3;
26 | double weight = 4;
27 | map dimensions = 5;
28 | }
29 |
--------------------------------------------------------------------------------
/gin-redis/helpers/email/sendEmail.go:
--------------------------------------------------------------------------------
1 | // Package email implements the method to notify user through email
2 | package email
3 |
4 | import (
5 | "context"
6 | "encoding/json"
7 | "time"
8 |
9 | "github.com/keploy/gin-redis/helpers/redis"
10 | "github.com/keploy/gin-redis/services"
11 | "github.com/keploy/gin-redis/structure"
12 | )
13 |
14 | func SendEmail(to, userName string) (int, error) {
15 | otp := services.GenerateOTP()
16 | data := structure.OTPData{
17 | OTP: otp,
18 | UserName: userName,
19 | }
20 |
21 | // Convert the OTPData struct to JSON
22 | jsonData, err := json.Marshal(data)
23 | if err != nil {
24 | return 0, err
25 | }
26 |
27 | // Store the JSON string in Redis
28 | err = redis.Session().Set(context.Background(), to, jsonData, 4*time.Hour).Err()
29 | return otp, err
30 | }
31 |
--------------------------------------------------------------------------------
/gin-redis/helpers/redis/redisConnect.go:
--------------------------------------------------------------------------------
1 | // Package redis contains implement redis database
2 | package redis
3 |
4 | import (
5 | "context"
6 | "log"
7 | "os"
8 |
9 | "github.com/redis/go-redis/v9"
10 | )
11 |
12 | var RedisClient *redis.Client
13 |
14 | func Session() *redis.Client {
15 | return RedisClient
16 | }
17 |
18 | func Init() {
19 | // Connect to the Redis server
20 | RedisClient = redis.NewClient(&redis.Options{
21 | Addr: "localhost:6379", // Redis server address
22 | Password: "", // No password for local Redis, set it if needed
23 | DB: 0, // Default DB
24 | Protocol: 3,
25 | })
26 | _, err := RedisClient.Ping(context.Background()).Result()
27 | if err != nil {
28 | log.Printf("Error initializing Redis client: %v", err)
29 | os.Exit(1)
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/mux-mysql/helpers/response.go:
--------------------------------------------------------------------------------
1 | package helpers
2 |
3 | import (
4 | "encoding/json"
5 | "log"
6 | "net/http"
7 | "os"
8 |
9 | "github.com/heyyakash/keploy-go-samples/models"
10 | )
11 |
12 | func SendResponse(w http.ResponseWriter, code int, message string, link string, status bool) {
13 | w.WriteHeader(code)
14 | if err := json.NewEncoder(w).Encode(&models.Response{Message: message, Link: link, Status: status}); err != nil {
15 | log.Printf("Error writing JSON: %v", err)
16 | os.Exit(1)
17 | }
18 | }
19 |
20 | func SendGetResponse(w http.ResponseWriter, data interface{}, status int, success bool) {
21 | w.WriteHeader(status)
22 | if err := json.NewEncoder(w).Encode(&models.GETResponse{Message: data, Status: success}); err != nil {
23 | log.Printf("Error writing JSON: %v", err)
24 | os.Exit(1)
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/book-store-inventory/pkg/models/book_model.go:
--------------------------------------------------------------------------------
1 | // Package models contains struct for Data
2 | package models
3 |
4 | import "time"
5 |
6 | type Book struct {
7 | BookID int `json:"book_id"`
8 | Title string `json:"title" binding:"required"`
9 | Author string `json:"author" binding:"required"`
10 | Price float64 `json:"price" binding:"required,gte=0"`
11 | PublishedDate time.Time `json:"published_date" binding:"required"`
12 | StockQuantity int `json:"stock_quantity" binding:"required,gte=0"`
13 | }
14 |
15 | type BookDeleteRequestBody struct {
16 | BookID int `json:"book_id" binding:"required"`
17 | }
18 |
19 | type BookUpdateRequestBody struct {
20 | Book
21 | // overriding BookID from Book Model, making it required field for updating the data
22 | BookID int `json:"book_id" binding:"required"`
23 | }
24 |
--------------------------------------------------------------------------------
/http-pokeapi/response.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "encoding/json"
5 | "fmt"
6 | "log"
7 | "net/http"
8 | )
9 |
10 | func respondWithError(w http.ResponseWriter, code int, res string) {
11 | if code > 499 {
12 | log.Printf("Responding with 5XX error: %s", res)
13 | }
14 | type errresponse struct {
15 | Error string `json:"error"`
16 | }
17 | respondWithJSON(w, code, errresponse{
18 | Error: res,
19 | })
20 | }
21 |
22 | func respondWithJSON(w http.ResponseWriter, code int, res interface{}) {
23 | w.Header().Set("content-type", "application/json")
24 | data, err := json.Marshal(res)
25 | if err != nil {
26 | log.Printf("Error marshalling JSON: %s", err)
27 | w.WriteHeader(500)
28 | return
29 | }
30 |
31 | w.WriteHeader(code)
32 | if _, err := w.Write(data); err != nil {
33 | fmt.Println("Error writing response:", err)
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/echo-mysql/uss/short.go:
--------------------------------------------------------------------------------
1 | // Package uss provides utility functions for generating short, unique URL links by hashing and encoding input URLs
2 | package uss
3 |
4 | import (
5 | "crypto/sha256"
6 | "fmt"
7 | "math/big"
8 |
9 | "github.com/itchyny/base58-go"
10 | )
11 |
12 | func GenerateShortLink(initialLink string) string {
13 | urlHashBytes := sha256Of(initialLink)
14 | generatedNumber := new(big.Int).SetBytes(urlHashBytes).Uint64()
15 | finalString := base58Encoded([]byte(fmt.Sprintf("%d", generatedNumber)))
16 | return finalString[:8]
17 | }
18 |
19 | func sha256Of(input string) []byte {
20 | algorithm := sha256.New()
21 | algorithm.Write([]byte(input))
22 | return algorithm.Sum(nil)
23 | }
24 |
25 | func base58Encoded(bytes []byte) string {
26 | encoding := base58.BitcoinEncoding
27 | encoded, _ := encoding.Encode(bytes)
28 | return string(encoded)
29 | }
30 |
--------------------------------------------------------------------------------
/gin-redis/controllers/GET/getVerificationCode.go:
--------------------------------------------------------------------------------
1 | // Package get contains method for get request
2 | package get
3 |
4 | import (
5 | "fmt"
6 | "net/http"
7 |
8 | "github.com/gin-gonic/gin"
9 | "github.com/keploy/gin-redis/helpers/email"
10 | responsestruct "github.com/keploy/gin-redis/structure/response"
11 | )
12 |
13 | func VerificationCode(c *gin.Context) {
14 | requestEmail := c.Query("email")
15 | userName := c.Query("username")
16 | otp, err := email.SendEmail(requestEmail, userName)
17 |
18 | if err != nil {
19 | resp := responsestruct.SuccessResponse{}
20 | resp.Message = err.Error()
21 | resp.Status = "false"
22 | c.JSON(http.StatusInternalServerError, resp)
23 | return
24 | }
25 |
26 | resp := responsestruct.SuccessResponse{}
27 | resp.OTP = fmt.Sprint(otp)
28 | resp.Status = "true"
29 | resp.Message = "OTP Generated successfully"
30 | c.JSON(http.StatusOK, resp)
31 | }
32 |
--------------------------------------------------------------------------------
/gin-redis/structure/struct.go:
--------------------------------------------------------------------------------
1 | // Package structure contains the structs
2 | package structure
3 |
4 | import (
5 | "mime/multipart"
6 |
7 | "go.mongodb.org/mongo-driver/bson/primitive"
8 | )
9 |
10 | type Influencer struct {
11 | ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
12 | Name string `json:"name,omitempty" bson:"name,omitempty"`
13 | LinkedIn string `json:"linkedin,omitempty" bson:"linkedin,omitempty"`
14 | Company string `json:"company,omitempty" bson:"company,omitempty"`
15 | }
16 |
17 | type InfluencerFeedback struct {
18 | Name string
19 | LinkedIn string
20 | Post *multipart.FileHeader
21 | Company string
22 | Feedback string
23 | Influencer interface{}
24 | ImageLink string
25 | }
26 |
27 | type OTPData struct {
28 | OTP int `json:"otp"`
29 | UserName string `json:"username"`
30 | }
31 |
--------------------------------------------------------------------------------
/grpc-mongo/go.mod:
--------------------------------------------------------------------------------
1 | module grpc-mongo
2 |
3 | go 1.25.0
4 |
5 | require (
6 | go.mongodb.org/mongo-driver v1.17.4
7 | google.golang.org/grpc v1.75.1
8 | google.golang.org/protobuf v1.36.9
9 | )
10 |
11 | require (
12 | github.com/golang/snappy v0.0.4 // indirect
13 | github.com/klauspost/compress v1.16.7 // indirect
14 | github.com/montanaflynn/stats v0.7.1 // indirect
15 | github.com/xdg-go/pbkdf2 v1.0.0 // indirect
16 | github.com/xdg-go/scram v1.1.2 // indirect
17 | github.com/xdg-go/stringprep v1.0.4 // indirect
18 | github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
19 | golang.org/x/crypto v0.39.0 // indirect
20 | golang.org/x/net v0.41.0 // indirect
21 | golang.org/x/sync v0.15.0 // indirect
22 | golang.org/x/sys v0.33.0 // indirect
23 | golang.org/x/text v0.26.0 // indirect
24 | google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
25 | )
26 |
--------------------------------------------------------------------------------
/fasthttp-postgres/internal/repository/statements.go:
--------------------------------------------------------------------------------
1 | package repository
2 |
3 | const (
4 | getAllAuthors = `SELECT * FROM authors`
5 | // getAuthorByID = `SELECT * FROM authors WHERE id = $1`
6 | getBookByID = `SELECT b.id, b.title, b.year, b.author_id, a.first_name, a.last_name
7 | FROM books b
8 | LEFT JOIN authors a on b.author_id=a.id
9 | WHERE b.id = $1;`
10 | getBooksByAuthorID = `SELECT b.id, b.title, b.year, b.author_id, a.first_name, a.last_name
11 | FROM authors a
12 | LEFT JOIN books b on a.id=b.author_id
13 | WHERE a.id = $1;`
14 | getAllBooks = `SELECT b.id, b.title, b.year, b.author_id, a.first_name, a.last_name
15 | FROM books b
16 | LEFT JOIN authors a on b.author_id=a.id;`
17 | createBookStmt = `INSERT INTO books(title, year, author_id) VALUES ($1, $2, $3);`
18 | createAuthorStmt = `INSERT INTO authors(first_name,last_name) VALUES ($1, $2);`
19 | )
20 |
--------------------------------------------------------------------------------
/mux-sql/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.7'
2 | services:
3 | go-app:
4 | build:
5 | context: .
6 | container_name: muxSqlApp
7 | ports:
8 | - "8010:8010"
9 | depends_on:
10 | - postgres
11 | networks:
12 | - keploy-network
13 |
14 | postgres:
15 | image: postgres:10.5
16 | container_name: mux-sql-postgres-1
17 | environment:
18 | - POSTGRES_DB=postgres
19 | - POSTGRES_USER=postgres
20 | - POSTGRES_PASSWORD=password
21 | ports:
22 | - '5432:5432'
23 | volumes:
24 | # - ./postgres-data:/var/lib/postgresql/data
25 | # copy the sql script to create tables
26 | - ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
27 | networks:
28 | - keploy-network
29 |
30 | networks:
31 | keploy-network:
32 | external: true
--------------------------------------------------------------------------------
/GITPOD.md:
--------------------------------------------------------------------------------
1 | ## Quick Gitpod experience intructions
2 | This sample app is a simple url shortner and located in echo-sql. It uses a postgres db.
3 |
4 | ## Generate testcases
5 |
6 | To genereate testcases we just need to make some API calls.
7 |
8 | ### Generate shortned url
9 |
10 | ```
11 | curl --request POST \
12 | --url http://localhost:8080/url \
13 | --header 'content-type: application/json' \
14 | --data '{
15 | "url": "https://github.com"
16 | }'
17 | ```
18 |
19 | ### Redirect to original url from shortened url
20 |
21 | ```
22 | curl -L http://localhost:8080/4KepjkTT
23 | ```
24 |
25 | ## Run the testcases
26 | ```
27 | go test -coverpkg=./... -covermode=atomic ./...
28 | ```
29 |
30 | **You should see around 75-80% coverage without writing any unit tests! You can also shutdown the database because keploy automatically mocks database calls during tests.**
31 |
32 | You can also try out some negative cases by changing reponses in `handlers.go`
--------------------------------------------------------------------------------
/echo-sql/go.mod:
--------------------------------------------------------------------------------
1 | module echo-psql-url-shortener
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/itchyny/base58-go v0.2.0
7 | github.com/labstack/echo/v4 v4.9.0
8 | github.com/lib/pq v1.10.4
9 | go.uber.org/zap v1.22.0
10 | )
11 |
12 | require (
13 | github.com/labstack/gommon v0.3.1 // indirect
14 | github.com/mattn/go-colorable v0.1.12 // indirect
15 | github.com/mattn/go-isatty v0.0.14 // indirect
16 | github.com/pkg/errors v0.9.1 // indirect
17 | github.com/stretchr/testify v1.7.1 // indirect
18 | github.com/valyala/bytebufferpool v1.0.0 // indirect
19 | github.com/valyala/fasttemplate v1.2.1 // indirect
20 | go.uber.org/atomic v1.9.0 // indirect
21 | go.uber.org/multierr v1.8.0 // indirect
22 | golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
23 | golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
24 | golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 // indirect
25 | golang.org/x/text v0.3.7 // indirect
26 | )
27 |
--------------------------------------------------------------------------------
/echo-sql/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "3.9"
2 | services:
3 | go-app:
4 | build:
5 | context: .
6 | container_name: echoApp
7 | ports:
8 | - "8082:8082"
9 | depends_on:
10 | postgres:
11 | condition: service_healthy
12 | networks:
13 | - babab
14 |
15 | postgres:
16 | image: postgres:10.5
17 | container_name: postgresDb
18 | restart: always
19 | environment:
20 | - POSTGRES_DB=postgres
21 | - POSTGRES_USER=postgres
22 | - POSTGRES_PASSWORD=password
23 | ports:
24 | - '5432:5432'
25 | volumes:
26 | - ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
27 | networks:
28 | babab:
29 | aliases:
30 | - postgresDb
31 |
32 | healthcheck:
33 | test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
34 | interval: 5s
35 | timeout: 5s
36 | retries: 5
37 | start_period: 30s
38 |
39 | networks:
40 | babab:
41 | external: false
42 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/--feature-request.yaml:
--------------------------------------------------------------------------------
1 | name: Feature request
2 | description: Suggest a feature to improve Keploy
3 | title: "[feature]: "
4 | labels: [feature]
5 | body:
6 | - type: markdown
7 | attributes:
8 | value: |
9 | Thank you for taking the time to request a feature for Keploy
10 | - type: checkboxes
11 | attributes:
12 | label: Is there an existing feature request for this?
13 | description: Please search to see if an issue related to this feature request/feature request already exists
14 | options:
15 | - label: I have searched the existing issues
16 | required: true
17 | - type: textarea
18 | attributes:
19 | label: Summary
20 | description: One paragraph description of the feature
21 | validations:
22 | required: true
23 | - type: textarea
24 | attributes:
25 | label: Why should this be worked on?
26 | description: A concise description of the problems or use cases for this feature request
27 | validations:
28 | required: true
--------------------------------------------------------------------------------
/book-store-inventory/pkg/router/public_router.go:
--------------------------------------------------------------------------------
1 | // https://stackoverflow.com/a/62608670
2 | // https://stackoverflow.com/questions/62608429/how-to-combine-group-of-routes-in-gin
3 |
4 | package router
5 |
6 | import (
7 | "github.com/gin-gonic/gin"
8 | "github.com/saketV8/book-store-inventory/pkg/utils"
9 | )
10 |
11 | func SetupPublicRouter(app *App, superRouterGroup *gin.Engine) {
12 |
13 | // = /api
14 | // = /v1
15 | routerGroup := superRouterGroup.Group(utils.ROUTER_PREFIX)
16 | {
17 | v1 := routerGroup.Group(utils.ROUTER_PREFIX_VERSION)
18 | {
19 | // GET
20 | v1.GET("/books/", app.Books.GetBooksHandler)
21 | v1.GET("/book/id/:book_id", app.Books.GetBookByIDHandler)
22 |
23 | // POST
24 | v1.POST("/book/add/", app.Books.AddBookHandler)
25 |
26 | // DELETE
27 | v1.DELETE("/book/delete/", app.Books.DeleteBookHandler)
28 |
29 | // PATCH
30 | v1.PATCH("/book/update/", app.Books.UpdateBookHandler)
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/echo-mysql/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/hermione/echo-mysql
2 |
3 | go 1.22.4
4 |
5 | require (
6 | github.com/go-sql-driver/mysql v1.9.3
7 | github.com/itchyny/base58-go v0.2.2
8 | github.com/joho/godotenv v1.5.1
9 | github.com/labstack/echo v3.3.10+incompatible
10 | gorm.io/driver/mysql v1.6.0
11 | gorm.io/gorm v1.31.0
12 | )
13 |
14 | require (
15 | filippo.io/edwards25519 v1.1.0 // indirect
16 | github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
17 | github.com/jinzhu/inflection v1.0.0 // indirect
18 | github.com/jinzhu/now v1.1.5 // indirect
19 | github.com/labstack/gommon v0.4.2 // indirect
20 | github.com/mattn/go-colorable v0.1.13 // indirect
21 | github.com/mattn/go-isatty v0.0.20 // indirect
22 | github.com/valyala/bytebufferpool v1.0.0 // indirect
23 | github.com/valyala/fasttemplate v1.2.2 // indirect
24 | golang.org/x/crypto v0.24.0 // indirect
25 | golang.org/x/net v0.21.0 // indirect
26 | golang.org/x/sys v0.21.0 // indirect
27 | golang.org/x/text v0.20.0 // indirect
28 | )
29 |
--------------------------------------------------------------------------------
/gin-redis/constants/contants.go:
--------------------------------------------------------------------------------
1 | // Package constants contains the constant values
2 | package constants
3 |
4 | const VerificationMailTemplate = `
5 |
6 | Href Attribute Example
7 |
8 |
9 | Href Attribute Example
10 |
11 | The freeCodeCamp Contribution Page shows you how and where you can contribute to freeCodeCamp's community and growth.
12 |
13 |
14 | Your verification code is: %d
15 |
16 |
17 | `
18 |
19 | const VerifyYourself = "Verify yourself with Influenza"
20 |
21 | const API_SUCCESS_STATUS = "Success"
22 |
23 | const API_FAILED_STATUS = "Failed"
24 |
25 | const APIFailStatus = "Fail"
26 |
27 | var INVALID_TOKEN_RESPONSE = map[string]interface{}{
28 | "status": APIFailStatus,
29 | "message": "Invalid or No Token",
30 | }
31 |
32 | var INVALID_SUPER_ADMIN = map[string]interface{}{
33 | "status": APIFailStatus,
34 | "message": "Go back son",
35 | }
36 |
--------------------------------------------------------------------------------
/users-profile/models/user_model.go:
--------------------------------------------------------------------------------
1 | // Package models contain the models to represent our application data
2 | package models
3 |
4 | import "go.mongodb.org/mongo-driver/bson/primitive"
5 |
6 | // User struct defines the user with required properties.
7 | // Added omitempty and validate:"required" to the struct tag to tell Gin-gonic to ignore empty fields and make the field required, respectively.
8 | type User struct {
9 | ID primitive.ObjectID `json:"id,omitempty"`
10 | Username string `json:"username,omitempty" validate:"required"`
11 | Name string `json:"name,omitempty" validate:"required"`
12 | Nationality string `json:"nationality,omitempty" validate:"required"`
13 | Title string `json:"title,omitempty" validate:"required"`
14 | Hobbies string `json:"hobbies,omitempty" validate:"required"`
15 | Linkedin string `json:"linkedin,omitempty" validate:"required"`
16 | Twitter string `json:"twitter,omitempty" validate:"required"`
17 | }
18 |
--------------------------------------------------------------------------------
/book-store-inventory/pkg/router/private_router.go:
--------------------------------------------------------------------------------
1 | // Package router have routes defined in it for REST API
2 | package router
3 |
4 | // https://stackoverflow.com/a/62608670
5 | // https://stackoverflow.com/questions/62608429/how-to-combine-group-of-routes-in-gin
6 |
7 | import (
8 | "github.com/gin-gonic/gin"
9 | "github.com/saketV8/book-store-inventory/pkg/handlers"
10 | "github.com/saketV8/book-store-inventory/pkg/middleware"
11 | "github.com/saketV8/book-store-inventory/pkg/utils"
12 | )
13 |
14 | func SetupPrivateRouter(app *App, superRouterGroup *gin.Engine) {
15 |
16 | // = /api
17 | // = /v1
18 |
19 | // fixing linter issue
20 | // app will be used when we pass data from app to handler :)
21 | // see example in SetupPublicRouter()
22 | _ = app
23 |
24 | routerGroup := superRouterGroup.Group(utils.ROUTER_PREFIX)
25 | {
26 | v1 := routerGroup.Group(utils.ROUTER_PREFIX_VERSION)
27 | v1.Use(middleware.BasicAuthMiddleware())
28 | {
29 | v1.GET("/test-private/", handlers.TestAPI)
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/http-pokeapi/keploy.yml:
--------------------------------------------------------------------------------
1 | path: ""
2 | appId: 0
3 | appName: ""
4 | command: ./http-pokeapi
5 | port: 0
6 | dnsPort: 26789
7 | proxyPort: 16789
8 | debug: false
9 | disableTele: false
10 | disableANSI: false
11 | containerName: ""
12 | networkName: ""
13 | buildDelay: 30
14 | test:
15 | selectedTests: {}
16 | globalNoise:
17 | global: {}
18 | test-sets: {}
19 | delay: 5
20 | apiTimeout: 5
21 | skipCoverage: false
22 | coverageReportPath: ""
23 | ignoreOrdering: true
24 | mongoPassword: default@123
25 | language: ""
26 | removeUnusedMocks: false
27 | fallBackOnMiss: false
28 | jacocoAgentPath: ""
29 | basePath: ""
30 | mocking: true
31 | ignoredTests: {}
32 | record:
33 | filters: []
34 | recordTimer: 0s
35 | configPath: ""
36 | bypassRules: []
37 | generateGithubActions: false
38 | keployContainer: keploy-v2
39 | keployNetwork: keploy-network
40 | cmdType: native
41 | inCi: false
42 |
43 | # Visit [https://keploy.io/docs/running-keploy/configuration-file/] to learn about using keploy through configration file.
44 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-244.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-244
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.87959Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.879914642Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-35.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-35
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:46.57630092Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:46 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:46.576751391Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893966
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-114.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-114
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.883236495Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.883522317Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-118.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-118
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.914447691Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.914689731Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-120.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-120
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.925990734Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.926270475Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-181.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-181
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.392237063Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.392653115Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-184.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-184
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.414466666Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.414772288Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-215.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-215
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.646838567Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.647125709Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-248.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-248
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.909348999Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.90967093Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-253.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-253
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.944871283Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.945208435Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-314.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-314
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.412403648Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.41268155Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-34.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-34
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.248246572Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.248531543Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-36.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-36
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.263858925Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.264205596Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-379.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-379
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.915176647Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.916086551Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-404.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-404
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.114172002Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.114587985Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-421.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-421
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.284283954Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.284718446Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-423.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-423
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.298199359Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.29847506Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-468.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-468
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.623198311Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.623486122Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-159.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-159
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.549908762Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.550246035Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-174.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-174
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.678501982Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.678803373Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-190.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-190
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.801800006Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.802160587Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-194.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-194
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.835998454Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.836447368Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-197.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-197
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.860655949Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.860984131Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-198.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-198
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.86931478Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.869726122Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-20.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-20
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:46.458859762Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:46 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:46.459179734Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893966
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-202.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-202
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.902610884Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.902955867Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-205.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-205
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.92510009Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.925393861Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-214.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-214
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.997029044Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.997461686Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-218.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-218
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:48.031289834Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:48 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:48.031754936Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893968
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-235.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-235
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:48.176733511Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:48 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:48.177070763Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893968
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-274.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-274
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:48.483178038Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:48 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:48.483463839Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893968
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-275.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-275
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:48.491088385Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:48 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:48.491463327Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893968
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-29.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-29
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:46.530058565Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:46 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:46.530424606Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893966
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-309.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-309
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:48.765669564Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:48 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:48.766004435Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893968
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-316.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-316
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:48.828141694Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:48 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:48.828489956Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893968
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-361.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-361
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:49.20298967Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:49 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:49.203432493Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893969
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-362.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-362
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:49.210453606Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:49 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:49.210801176Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893969
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-368.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-368
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:49.254928831Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:49 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:49.255352135Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893969
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-381.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-381
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:49.358362443Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:49 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:49.358796565Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893969
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-394.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-394
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:49.468462826Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:49 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:49.468783878Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893969
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-414.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-414
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:49.632181199Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:49 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:49.63252071Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893969
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-465.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-465
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:50.041592115Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:50 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:50.041945477Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893970
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-471.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-471
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:50.084855877Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:50 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:50.085366999Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893970
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-479.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-479
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:50.148635863Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:50 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:50.148973514Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893970
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-486.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-486
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:50.207401347Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:50 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:50.20796693Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893970
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-487.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-487
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:50.216340359Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:50 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:50.216776141Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893970
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-85.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-85
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:46.974811285Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:46 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:46.975080826Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893966
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-1/tests/test-93.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-93
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/ping
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:47.036484203Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "4"
22 | Content-Type: text/plain; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:47 GMT
24 | body: pong
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:47.036792133Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893967
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ping \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/mux-elasticsearch/keploy.yml:
--------------------------------------------------------------------------------
1 | path: ""
2 | appId: 0
3 | appName: ""
4 | command: ./mux-elasticsearch
5 | port: 0
6 | dnsPort: 26789
7 | proxyPort: 16789
8 | debug: false
9 | disableTele: false
10 | disableANSI: false
11 | containerName: ""
12 | networkName: ""
13 | buildDelay: 30
14 | test:
15 | selectedTests: {}
16 | globalNoise:
17 | global: {}
18 | test-sets: {}
19 | delay: 5
20 | apiTimeout: 5
21 | skipCoverage: false
22 | coverageReportPath: ""
23 | ignoreOrdering: true
24 | mongoPassword: default@123
25 | language: ""
26 | removeUnusedMocks: false
27 | fallBackOnMiss: false
28 | jacocoAgentPath: ""
29 | basePath: ""
30 | mocking: true
31 | ignoredTests: {}
32 | record:
33 | filters: []
34 | recordTimer: 0s
35 | configPath: ""
36 | bypassRules: []
37 | generateGithubActions: false
38 | keployContainer: keploy-v2
39 | keployNetwork: keploy-network
40 | cmdType: native
41 | inCi: false
42 |
43 | # Visit [https://keploy.io/docs/running-keploy/configuration-file/] to learn about using keploy through configration file.
44 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-111.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-111
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.859171124Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.859458016Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-126.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-126
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.974199579Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.97449127Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-145.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-145
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.12080796Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.121350453Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-188.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-188
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.441177021Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.441461341Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-198.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-198
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.522317698Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.52275596Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-22.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-22
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.158995007Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.159543259Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-231.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-231
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.772199741Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.772620623Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-257.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-257
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.97428097Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.974694702Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-260.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-260
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.99571242Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.996025182Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-263.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-263
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.017928663Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.018177354Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-273.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-273
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.094865282Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.095145803Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-311.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-311
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.392817657Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.393105219Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-323.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-323
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.468275398Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.46850164Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-327.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-327
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.4966662Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.497045202Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-370.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-370
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.837659577Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.838015818Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-41.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-41
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.30149112Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.301884402Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-415.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-415
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.232771834Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.233702599Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-416.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-416
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.247429952Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.247854385Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-431.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-431
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.352964623Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.353283975Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-45.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-45
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.330634455Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.330975967Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-451.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-451
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.498242869Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.498618101Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-453.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-453
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.512740307Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.513056139Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-455.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-455
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.527127484Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.527478695Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-460.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-460
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.570208194Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.570583906Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-475.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-475
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.680790859Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.68112107Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-477.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-477
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.696581562Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.696863123Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-481.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-481
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.726950863Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.727233155Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-485.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-485
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.756773072Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.757180604Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-52.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-52
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.385739732Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.386072653Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-57.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-57
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.422767993Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "15"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"status":"ok"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.423187715Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/ \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-100.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-100
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.769955609Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.77038497Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-127.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-127
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.981119981Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.981402792Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-142.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-142
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.096816359Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.097073369Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-154.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-154
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.194945025Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.195372867Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-17.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-17
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:22.121901505Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:22 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:22.122301376Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893942
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-172.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-172
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.321644184Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.321934036Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-176.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-176
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.35310944Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.353590173Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-191.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-191
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.467978905Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.468332347Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-195.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-195
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.499354832Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.499707103Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-203.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-203
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.560769927Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.561121029Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-204.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-204
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.56779382Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.56809948Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-211.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-211
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.6171996Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.617591881Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-227.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-227
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.73984442Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.740215371Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-232.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-232
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.780188088Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.780514369Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-235.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-235
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.806011478Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.80634434Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-258.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-258
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:23.981355394Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:23 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:23.981760835Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893943
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-262.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-262
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.01081558Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.011391254Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-293.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-293
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.254047351Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.254343553Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-301.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-301
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.312777515Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.313163897Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-302.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-302
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.321133434Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.321384155Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-304.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-304
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.33960065Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.339951271Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-310.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-310
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.385778184Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.386074776Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-328.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-328
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.504754858Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.505198169Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-338.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-338
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.583756645Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.584101267Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-374.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-374
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:24.86843459Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:24 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:24.868811011Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893944
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-407.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-407
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.139015899Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.139455821Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-413.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-413
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.207772987Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.208330131Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Host: localhost:8080' \
38 | --header 'User-Agent: curl/8.5.0' \
39 | --header 'Accept: */*' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-426.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-426
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/healthz
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.320567384Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "16"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"healthy":true}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.320912604Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/healthz \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-428.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-428
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.331870495Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.332114717Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-429.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-429
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.338640737Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.338898368Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'User-Agent: curl/8.5.0' \
38 | --header 'Accept: */*' \
39 | --header 'Host: localhost:8080' \
40 |
--------------------------------------------------------------------------------
/go-dedup/keploy/test-set-0/tests/test-438.yaml:
--------------------------------------------------------------------------------
1 | # Generated by Keploy (2-dev)
2 | version: api.keploy.io/v1beta1
3 | kind: Http
4 | name: test-438
5 | spec:
6 | metadata: {}
7 | req:
8 | method: GET
9 | proto_major: 1
10 | proto_minor: 1
11 | url: http://localhost:8080/noone
12 | header:
13 | Accept: '*/*'
14 | Host: localhost:8080
15 | User-Agent: curl/8.5.0
16 | body: ""
17 | timestamp: 2025-11-23T10:32:25.407321747Z
18 | resp:
19 | status_code: 200
20 | header:
21 | Content-Length: "20"
22 | Content-Type: application/json; charset=utf-8
23 | Date: Sun, 23 Nov 2025 10:32:25 GMT
24 | body: '{"message":"No one"}'
25 | status_message: OK
26 | proto_major: 0
27 | proto_minor: 0
28 | timestamp: 2025-11-23T10:32:25.407710699Z
29 | objects: []
30 | assertions:
31 | noise:
32 | header.Date: []
33 | created: 1763893945
34 | curl: |
35 | curl --request GET \
36 | --url http://localhost:8080/noone \
37 | --header 'Accept: */*' \
38 | --header 'Host: localhost:8080' \
39 | --header 'User-Agent: curl/8.5.0' \
40 |
--------------------------------------------------------------------------------