|
|
|
@ -25,11 +25,10 @@ def compare_get_shows(): |
|
|
|
print("result\n", json.dumps(result)) |
|
|
|
print("result\n", json.dumps(result)) |
|
|
|
|
|
|
|
|
|
|
|
db_result.save((api, 'compare', None, json.dumps(xml_params), xml_response_xml, json.dumps(xml_response), |
|
|
|
db_result.save((api, 'compare', None, json.dumps(xml_params), xml_response_xml, json.dumps(xml_response), |
|
|
|
json.dumps(xml_response_transform), json.dumps(json_params), json.dumps(json_data), |
|
|
|
json.dumps(xml_response_transform), global_data['http_req_method'], json.dumps(json_params), |
|
|
|
json.dumps(json_response), json.dumps(result))) |
|
|
|
json.dumps(json_data), json.dumps(json_response), json.dumps(result))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def compare_get_seats(): |
|
|
|
def compare_get_seats(): |
|
|
|
|
|
|
|
api = 'getSeats' |
|
|
|
api = 'getSeats' |
|
|
|
|
|
|
|
|
|
|
|
xml_get_seats_obj = xml_get_seats.GetSeats(global_data) |
|
|
|
xml_get_seats_obj = xml_get_seats.GetSeats(global_data) |
|
|
|
@ -44,9 +43,8 @@ def compare_get_seats(): |
|
|
|
print("result\n", json.dumps(result)) |
|
|
|
print("result\n", json.dumps(result)) |
|
|
|
|
|
|
|
|
|
|
|
db_result.save((api, 'compare', None, json.dumps(xml_params), xml_response_xml, json.dumps(xml_response), |
|
|
|
db_result.save((api, 'compare', None, json.dumps(xml_params), xml_response_xml, json.dumps(xml_response), |
|
|
|
json.dumps(xml_response_transform), json.dumps(json_params), json.dumps(json_data), |
|
|
|
json.dumps(xml_response_transform), global_data['http_req_method'], json.dumps(json_params), |
|
|
|
json.dumps(json_response), json.dumps(result))) |
|
|
|
json.dumps(json_data), json.dumps(json_response), json.dumps(result))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
if __name__ == '__main__': |
|
|
|
compare_get_seats() |
|
|
|
compare_get_seats() |
|
|
|
|