Automated testing framework for api services, http, gRPC (may support in the future)
- No program development is required, only configuration files need to be written
- You can specify dependencies between testcases
- Testcases without dependencies can be executed concurrently and execute faster
- Use xpath to extract variables for easy writing
autotest --config-file=${CONFIG_FILE}
autotest --config-file=${CONFIG_FILE} --env-file=${ENV_FILE}
cd docker-compose
docker compose up -d
curl -X POST 'http://localhost:8080/api/books' \
--header 'Content-Type: application/json' \
--data '{"title": "book3_title", "author": "book3_author"}'
curl -X DELETE 'http://localhost:8080/api/books/1'
curl -X PUT 'localhost:8080/api/books/3' \
--header 'Content-Type: application/json' \
--data '{"title": "book3_title", "author": "book3_author-2"}'
curl 'http://localhost:8080/api/books'
make build
./autotest run -c=./config_files/autotest.yml -e=./config_files/.env.dev