An automated application test suite that tests several HTTP requests against the Star Wars API.
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
A simple automated application test suite that performs several HTTP requests against the Star Wars API. The HTTP requests tested in this suite include GET, HEAD, and OPTIONS. The Star Wars API is located at: https://swapi.dev/.
- Positive tests for the GET, HEAD, and OPTIONS HTTP requests
- Negative tests for the GET and HEAD HTTP requests
- Parallel testing included with the "IntegrationTest" class
- Java 8: Version 1.8.0_341
- Gradle: Version 7.4
- Groovy: Version 3.0.9
- Ant: Version 1.9
- JVM: Version 1.8.0_341
First, we'll need to copy this repo to your machine, then running the application by creating a jar file. Please see the instructions that follow:
- Clone the repo
git clone https://github.com/jwhaubrich/AutomatedTests_StarWarsAPI.git
- Navigate to the local directory where the repo is located on your machine.
- Run the StarWarsIntegrationTests program with:
./gradlew run
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git switch -c feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Joe Haubrich - @joe_haubrich - jwhaubrich@gmail.com
Project Link: https://github.com/jwhaubrich/AutomatedTests_StarWarsAPI