aimof / apitest Goto Github PK
View Code? Open in Web Editor NEWRESTful APIs testing command. Sequencial, blackbox, automatic testing for containers and CIs.
License: MIT License
RESTful APIs testing command. Sequencial, blackbox, automatic testing for containers and CIs.
License: MIT License
When I use test.sh in Ubuntu 18.04, there is a following error.
$ ./test.sh
ERROR: Version in "././test/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
And I can run test.sh after updating dockrer-compose as following:
sudo apt remove docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
So, this tool need some minimum version of docker-component. Doesn't it?
yamlの定義としては1つなので1シナリオに対して1つのホストを指定する形に見えました。
そうなった場合、基本的にはこれで十分だと思うのですが、複数のサービスに跨って利用されるAPIの場合にどうテストするのでしょうか?
例えば認証前提のサービスAに対するAPIで、その認証情報はサービスBに対して登録されたものを使う場合、
といった複数サービスを利用した試験をしたくなると思います。
こういった試験はカバーする設定があるのか、シナリオの定義でカバーするのか、そもそも対象外なのかが気になりました。
In the README you mention:
Karate: Karate is a good tool but it run on JVM. Karate is not container friendly.
Actually Karate has a 25 MB executable and only the JRE is needed as a pre-requisite.
If you see this thread - many people have been able to run Karate in Docker: karatelabs/karate#396
Can you explain what you mean when you say Karate is not container friendly ?
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.