This project contains an API Test Automation Framework and a manual API test collection developed for an actively used education management system. It includes manual tests using Postman as well as automation tests using Java + Rest Assured.
Campus_API_Testing_RestAssured
├── src/
│ └── test/
│ ├── java/
│ │ └── campus/ # Java source files
│ │ ├── Cities
│ │ ├── Country
│ │ ├── Education
│ │ ├── Grading
│ │ ├── Incident
│ │ ├── States
│ │ └── StudentGroup
│ │
│ └── utilities/ # Utility classes
│ ├── ConfigReader
│ └── ParentPage
│
├── resources/ # Resource files
│ └── Campus API Testing Postman.postman\_collection.json
├── configuration.properties # Configuration file
└── pom.xml # Maven configuration file
Purpose | Technology / Tool |
---|---|
Test Automation | Java + Rest Assured |
Test Framework | TestNG |
API Testing | Postman |
Build Management | Maven |
Configuration Management | .properties file |
- Postman collection:
Campus API Testing Postman.postman_collection.json
- Core tests: Login, Student Group, Grading, Education, Incident, etc.
- For each endpoint:
- Positive and negative scenarios
- Script-based response validation
- Status code, response body, and JSON structure assertions
- Java-based tests located under
src/test/java/campus
. - Separate package per functional module:
StudentGroup
,Grading
,Incident
, etc.
- Common configurations and token management are handled in
ParentPage
andConfigReader
. - Test scenarios include:
- GET, POST, PUT, DELETE
- Positive and negative flows
- Dynamic data usage and assertions
- Java 11+
- Rest Assured
- TestNG
- Maven
- IntelliJ IDEA (or another IDE)
- Postman
Edit the configuration.properties
file according to your API environment:
baseUrl=*****
username=*****
password=*****
mvn clean test
The detailed test scenarios for the following modules:
- Student Group
- Grading
- Education
- Incident
- Country, State, City
- Token management is handled via
ParentPage
. ConfigReader
fetches environment data from the.properties
file.- The project is CI/CD-ready (e.g., for Jenkins integration).
- Both positive and negative scenarios are covered in Postman and Java tests.
Contributors:
- Zafer Ataklı
- Rıfat Batır
- Yiğit Çam
- Tugba Kilic
- Nuri Öztürk
- Azim Korkmaz
- Mert Can Özdemir
- Sibel Öztemel
- Eren Icinozbebek
The tested website https://test.mersys.io/ belongs to Techno Study's education platform. This project is created strictly for educational and internal testing purposes. It is not intended for commercial use.