Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.19 KB

Readme.md

File metadata and controls

38 lines (29 loc) · 2.19 KB

Postman Load testing

This is a proof of concept for taking API calls using the Postman collections to quickly perform load testing on software environments.

Prerequisties

Sample DotNet API

  1. Download .Net and installation docs.
    • macOS note: use installer
  2. Create folder "TaskSample" and inside, solution file dotnet new sln.
  3. Create class library dotnet new classlib -n TaskSample.Tasks.
  4. Add library to the solution dotnet sln add TaskSample.Tasks/TaskSample.Tasks.csproj
  5. Build the solution dotnet build TaskSample.sln
  6. Run unit tests dotnet test
  7. Add library to expose as an api dotnet new webapi -minimal -o TaskApi
  8. Add reference to Task project dotnet add reference ../Task/Task.csproj
  9. dotnet dev-certs https --trust
  10. dotnet run --project TaskApi/TaskApi.csproj
  11. https://localhost:7053/swagger/index.html (test weather)
  12. remove weather and add method for Task API
  13. update .gitignore file with dotnet new gitignore --force

References

VS Code Extensions

Recommended extensions have been moved to the .vscode/extensions.json file.