- The endpoints can be executed locally or remotely (Deployed to Azure in West Europe Region to reduce latency for your tests)
To run locally, Gaona.Assignment.exe needs to have the following app settings defined
- StorageConnString in case you don't want to use the Azure Storage Emulator
- sgapikey A SendGrid API key for email sending (refer to improvements list)
- errormail The email address to send the errors
Gaona.Assignment.Client.exe is already set up to call the remote endpoint address. In case you want to run it locally set the server setting to the desired value.
- Start Gaona.Assignment.exe file
- Start Gaona.Assignment.Client.exe file
The client app will execute 5 tests, based on the binary files included in the project
- Send a payload bigger than the limit (1MB)
- Check if data is equal using an image file
- Check if data has different lenght using two image files
- Check if data has equal length but has differeces using two text files
- Check if data has equal length but has differences using two binary files
- Start Gaona.Assignment.exe application
- Make the corresponding calls for the diff process
An example of the calls I used is on Postman exported file, included in this repo
API documentation (automated using swagger and XML comments) can be found at
THEEND