예제 #1
0
 def test_case4(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "Cc35dbedac02043c4a9f7303a14e88736",
         "start_time": "20200201000000"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #2
0
 def test_case5(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "C68ee2ebd4d6b4158815a766765e67fb8",
         "start_time": "20200201000000"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #3
0
 def test_case2(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "Cc91884bd08c3436b835ef3f43cee0487",
         "start_time": "20200108104430"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #4
0
 def test_case3(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "C4b6e496a30b94e9fb30b39602d6342d8",
         "start_time": "20200202152100"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #5
0
 def test_jt_case5(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "Cc86df55bf96b410a80882c1ead3b15ca",
         "start_time": "20210101000000"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #6
0
 def test_case1(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "C860608c3bda24fe9a8238a745fb4b196",
         "start_time": "20200110104430"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #7
0
 def test_jt_case4(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "C4e1ef54b088148429ec5f8de8f5793ed",
         "start_time": "20220201000000"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #8
0
 def test_jt_case2(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "Cae3c4cb58fb446ebbd003e0def2b3aec",
         "start_time": "20200120104430"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)
예제 #9
0
 def test_jt_case1(self):
     runmethod = RunMethod()
     yamlPath = "D:/python_workspace/pytest_1231/Params/param/plan_getLatestTime.yaml"
     params = readyml(yamlPath)
     data = {
         "user_id": "58a612614e1f430bb35bef96a90b77b8",
         "pd": "systemId",
         "cell_id": "Cf3bf6f46e7104dc09ac1f91e3fc7ad54",
         "start_time": "20200110104430"
     }
     for i in range(0, 1):
         runmethod.post_main(url=params[i]['url'],
                             headers=params[i]['header'],
                             data=data)