SpringBoot Buggy API Services
The SpringBoot Buggy API Service, has endpoints designed to simulate Java performance problems for tool testing and analysis.
SSH: git clone [email protected]:ycrash/springboot-buggyapi.git
HTTP: git clone https://github.com/ycrash/springboot-buggyapi.git
** Pre-Requiste **
To run this, you need the following installed and configured in your path.
- Java 1.8 or higher
- Maven 3.0 or higher
** Build the application ** Please navigate to the folder and execute the following commands in your terminal.
- cd springboot-buggyapi
- mvn clean
- mvn install cd target
OR
** Download the application jar ** Download latest SpringBoot Buggy Api from here.
** Run the application **
- java -jar ycrash.springboot*.jar
- Open the application in the browser http://{your-host}:8090/swagger-ui.html to invoke the java performance problems using UI
or curl command example curl http://{your-host:8090}/v1/invoke/blocked-state
Note. You can change the port from default(8090) in the application properties.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.