{"id":22173691,"url":"https://github.com/stefruseva88/restsharp-api-tests","last_synced_at":"2026-01-24T11:36:55.695Z","repository":{"id":231854338,"uuid":"782872573","full_name":"StefRuseva88/restsharp-api-tests","owner":"StefRuseva88","description":"RESTful API Tests","archived":false,"fork":false,"pushed_at":"2024-10-24T10:45:16.000Z","size":88,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-25T09:16:10.565Z","etag":null,"topics":["csharp","dotnet","integration-testing","nunit","rest-api","restsharp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StefRuseva88.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-06T09:28:42.000Z","updated_at":"2024-10-24T11:05:15.000Z","dependencies_parsed_at":"2024-10-25T09:16:51.328Z","dependency_job_id":"cbfb440d-5378-4e39-942d-a92db73f1c14","html_url":"https://github.com/StefRuseva88/restsharp-api-tests","commit_stats":null,"previous_names":["stefruseva88/softuni-projects","stefruseva88/softuni-projects-integration-tests","stefruseva88/softuni-integration-tests"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Frestsharp-api-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Frestsharp-api-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Frestsharp-api-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Frestsharp-api-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefRuseva88","download_url":"https://codeload.github.com/StefRuseva88/restsharp-api-tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227691301,"owners_count":17805100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","integration-testing","nunit","rest-api","restsharp"],"created_at":"2024-12-02T07:34:44.109Z","updated_at":"2026-01-24T11:36:50.654Z","avatar_url":"https://github.com/StefRuseva88.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# SoftUni Exam Projects - RestSharp API Tests \n[![C#](https://img.shields.io/badge/Made%20with-C%23-239120.svg)](https://learn.microsoft.com/en-us/dotnet/csharp/)\n[![.NET](https://img.shields.io/badge/.NET-5C2D91.svg)](https://dotnet.microsoft.com/)\n[![JWT](https://img.shields.io/badge/Authentication-JWT-000000.svg)](https://jwt.io/)\n[![NUnit](https://img.shields.io/badge/tested%20with-NUnit-22B2B0.svg)](https://nunit.org/)\n\n### This is a test project for **Back-End Test Automation** March 2024 Course @ SoftUni\n---\n## 📜 Project Description\nThis repository contains a series of test projects designed to practice and demonstrate skills in back-end test automation. The tests are written using RestSharp for API interactions and NUnit for testing framework.\n\n## 📂 Projects Included\n- **Idea Center App**: This project focuses on automating tests for the \"Idea Center\" system, a platform where users can submit and discuss innovative ideas.\n- **Foody App**: The \"Foody\" app project involves automating tests for a food review service API. \n- **Story Spoil App**: The project automates tests for the \"Story Spoiler\" system, an application that provides users with spoilers for their favorite stories.\n\n## ✅ Test Case Coverage\n- User authentication and authorization\n- User data submission and retrieval\n- User data edition and deletion\n- Error handling and validation\n  \n## 💻 Technologies Used\n- **RestSharp**: A simple REST and HTTP API client for .NET.\n- **NUnit**: A unit-testing framework for all .NET languages.\n\n## 🏗️ Project Structure\n- **Tests**: Contains the test cases for each system.\n- **Models**: Contains the models representing the API responses and requests.\n\n## 🛠️ RestClient Initialization and Configuration\n1. **Initialize a RestClient with the base URL of the API.**\n2. **Authenticate with your credentials, and store the received JWT token.**\n   - Authenticate by sending a request with your credentials.\n   - Capture the JWT token from the response and store it securely for subsequent requests.\n3. **Configure the RestClient with an Authenticator using the stored JWT token.**\n   - Use the stored JWT token to configure the RestClient's Authenticator.\n   - This setup ensures that all subsequent requests made by the RestClient are authenticated.\n\n## 📄 License\nThis project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for details.\n### 🤝 Contact\nFor any questions or suggestions, please open an issue in the repository.\n\n---\n### Happy Testing! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefruseva88%2Frestsharp-api-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefruseva88%2Frestsharp-api-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefruseva88%2Frestsharp-api-tests/lists"}