Skip to content

Simple API to use for performance testing

Notifications You must be signed in to change notification settings

ashleighB31/api-perf-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

api-perf-test

Simple API to use for performance testing

This API has 4 endpoints:

GET /all-students - returns all student records

POST /new-student - this allows you to create a new student record

Sample payload:

{
"name": "John Bowie",
"description": "Class of 16"
}

POST /students - this adds 3 new student records

GET /students/{studentId} - this retrieves a student record by their Student ID

To Build the project and run:

mvn clean install

To start the application:

java -jar target/api-perf-test-0.0.1-SNAPSHOT.jar

To build and start the application without running the tests:

mvn spring-boot:run

Swagger UI

http://localhost:8080/swagger-ui.html

About

Simple API to use for performance testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%