Add JMeter test plan for Timesheet API with 17 transaction samplers#744
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Add JMeter test plan for Timesheet API with 17 transaction samplers#744devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
- Test Plan: Timesheet API - Single User Validation - 17 HTTP Request samplers wrapped in Transaction Controllers - Covers auth, clients CRUD, work entries CRUD, reports (JSON/CSV/PDF), health check - JSON Extractors for dynamic CLIENT_ID and WORK_ENTRY_ID correlation - Response assertions for status codes and body content - Listeners: View Results Tree, Summary Report, Aggregate Report - README with usage instructions and configuration reference
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Adds a complete JMeter
.jmxtest plan atjmeter/timesheet_api_test.jmxthat validates the full Timesheet API lifecycle with 17 HTTP request samplers, each wrapped in a Transaction Controller.Test Plan: "Timesheet API - Single User Validation"
x-user-emailheader-based authentication (not JWT)17 Transactions Covered:
01_AUTH_Login— POST/api/auth/login02_AUTH_GetCurrentUser— GET/api/auth/me03_CLIENT_CreateClient— POST/api/clients04_CLIENT_GetAllClients— GET/api/clients05_CLIENT_GetClientById— GET/api/clients/{id}06_CLIENT_UpdateClient— PUT/api/clients/{id}07_WORKENTRY_CreateWorkEntry— POST/api/work-entries08_WORKENTRY_GetAllWorkEntries— GET/api/work-entries09_WORKENTRY_GetWorkEntriesByClient— GET/api/work-entries?clientId={id}10_WORKENTRY_GetWorkEntryById— GET/api/work-entries/{id}11_WORKENTRY_UpdateWorkEntry— PUT/api/work-entries/{id}12_REPORT_GetClientReport— GET/api/reports/client/{id}13_REPORT_ExportCSV— GET/api/reports/export/csv/{id}14_REPORT_ExportPDF— GET/api/reports/export/pdf/{id}15_WORKENTRY_DeleteWorkEntry— DELETE/api/work-entries/{id}16_CLIENT_DeleteClientById— DELETE/api/clients/{id}17_HEALTH_Check— GET/healthTest execution result: All 17 transactions passed with 100% success rate, 0% error rate, APDEX 1.000.
Files added:
jmeter/timesheet_api_test.jmx— The JMeter test planjmeter/README.md— Usage instructions, configuration reference, and run commandsReview & Testing Checklist for Human
jmeter -n -t jmeter/timesheet_api_test.jmx -l jmeter/results.jtl -e -o jmeter/report(backend must be running on port 3001)jmeter/report/index.htmlNotes
USER_EMAIL,PROTOCOL,SERVER,PORT) that can be overridden at runtime via JMeter properties.CLIENT_IDandWORK_ENTRY_IDacross dependent requests.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/5b6fe202482c4996928918303f0855f1