Script automation code
$80-240 HKD
Paid on delivery
Hi .
Question 1: You are given a binary file. When the binary is executed, it will send a HTTP request to a fixed endpoint(says, [login to view URL]) and print “it works!!!” msg in the console if the return code in the HTTP response is 200. If the return code is not 200, it will print Error and the return code of the request in console.
How would you test that binary? (Write Code)
Question : 2
Please make a test script to test the API listed below from HKO Open Data API Document Weather Information API
API: [login to view URL]
Focus Dataset: Current Weather Report (rhrread)
- You can choose the language you want to use
- It is mandatory for any kind of tests to be provided
- Please focus on reusability, readability, scalability, and clean coding principles - Provide sufficient comments where necessary
- Please feel free to use any third-party libraries
Deliverables:
1. Documentation, compressed into a single zip file named <your_name>[login to view URL]
a. Design and test cases
b. Sample test run output
2. Github repository
a. Readme for installation/ setup guide
b. Source code, if any
Project ID: #28390920