@@ -0,0 +1,1316 @@
+import requests%0Aimport json%0A%0ACLOUD_END_POINT = %22http://211.249.49.198:5000%22%0A%0Adef test_IsHomePageWorking():%0A    homePageRequest = requests.get(CLOUD_END_POINT)%0A    assert homePageRequest.text == %22Hello world%22%0A%0Adef test_UploadTestData():%0A    testUploadData = %7B%0A        %22Data%22: %5B20.0, 30.0, 401.0, 50.0, 60.0%5D,%0A        %22Date%22: %5B%222017-08-11%22, %222017-08-12%22, %222017-08-13%22, %222017-08-14%22, %222017-08-15%22%5D,%0A        %22Day%22: 4%0A    %7D%0A    uploadTestDataRequest = requests.post(CLOUD_END_POINT + %22/upload/%22, json=testUploadData)%0A%0A    serverResponse = json.loads(uploadTestDataRequest.text)%0A    assert serverResponse%5B%22Result%22%5D %3E= 0, %22Wrong process id returned%22%0A    return%0A%0Adef test_DownloadWorkingForecastData():%0A    testUploadData = %7B%0A        %22ProcessId%22: 9%0A    %7D%0A    uploadTestDataRequest = requests.post(CLOUD_END_POINT + %22/forecast/%22, json=testUploadData)%0A%0A    serverResponse = json.loads(uploadTestDataRequest.text)%0A    assert serverResponse%5B%22Status%22%5D == %22Working%22, %22Is it really process done?%22%0A%0Adef test_DownloadDoneForecastData():%0A    testUploadData = %7B%0A        %22ProcessId%22: 2%0A    %7D%0A    uploadTestDataRequest = requests.post(CLOUD_END_POINT + %22/forecast/%22, json=testUploadData)%0A%0A    serverResponse = json.loads(uploadTestDataRequest.text)%0A    assert serverResponse%5B%22Status%22%5D == %22Done%22, %22That process id must return status done%22

Test module : some test sinario added