temp_123 = str(data["name"]) except Exception as error: pass if temp_123: dependencies.set_variable("_group_put_name", temp_123) req_collection = requests.RequestCollection([]) request = requests.Request([ primitives.restler_static_string("GET "), primitives.restler_static_string("/"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_static_string("Accept: application/json\r\n"), primitives.restler_static_string("Host: restler.unit.test.server.com\r\n"), primitives.restler_static_string("Content-Type: application/json\r\n"), primitives.restler_refreshable_authentication_token( "authentication_token_tag"), primitives.restler_static_string("\r\n") ], requestId="/") req_collection.add_request(request) request = requests.Request([ primitives.restler_static_string("GET "), primitives.restler_static_string("/"), primitives.restler_static_string("city"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_static_string("Accept: application/json\r\n"), primitives.restler_static_string("Host: restler.unit.test.server.com\r\n"), primitives.restler_static_string("Content-Type: application/json\r\n"),
except Exception as error: pass if temp_123: dependencies.set_variable("_city_house_put_name", temp_123) req_collection = requests.RequestCollection([]) request = requests.Request([ primitives.restler_static_string("GET "), primitives.restler_static_string("/"), primitives.restler_static_string("city"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_static_string("Accept: application/json\r\n"), primitives.restler_static_string("Host: restler.unit.test.server.com\r\n"), primitives.restler_static_string("Content-Type: application/json\r\n"), primitives.restler_refreshable_authentication_token( "authentication_token_tag"), primitives.restler_static_string("\r\n") ], requestId="/city") req_collection.add_request(request) request = requests.Request([ primitives.restler_static_string("PUT "), primitives.restler_static_string("/"), primitives.restler_static_string("city"), primitives.restler_static_string("/"), primitives.restler_custom_payload_uuid4_suffix("cityName"), primitives.restler_static_string(" HTTP/1.1\r\n"),
req_collection = requests.RequestCollection([]) # Endpoint: /stores, method: Post request = requests.Request([ primitives.restler_static_string("POST "), primitives.restler_static_string("/"), primitives.restler_static_string("api"), primitives.restler_static_string("/"), primitives.restler_static_string("stores"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_static_string("Accept: application/json\r\n"), primitives.restler_static_string("Host: localhost:8888\r\n"), primitives.restler_static_string("\r\n"), { 'post_send': { 'parser': parse_storespost, 'dependencies': [ _stores_post_id.writer() ] } }, ], requestId="/stores" ) req_collection.add_request(request) # Endpoint: /stores/{storeId}, method: Put
try: temp_123 = str(data["name"]) except Exception as error: pass if temp_123: dependencies.set_variable("_namespaceruletest_put_name", temp_123) req_collection = requests.RequestCollection([]) request = requests.Request([ primitives.restler_static_string("GET "), primitives.restler_static_string("/"), primitives.restler_static_string("city"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_refreshable_authentication_token( "authentication_token_tag"), primitives.restler_static_string("\r\n") ], requestId="/city") req_collection.add_request(request) request = requests.Request([ primitives.restler_static_string("PUT "), primitives.restler_static_string("/"), primitives.restler_static_string("city"), primitives.restler_static_string("/"), primitives.restler_custom_payload_uuid4_suffix("cityName"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_refreshable_authentication_token( "authentication_token_tag"),
) # Set dynamic variables if temp_7262: dependencies.set_variable("_stores__storeId__order_post_id", temp_7262) req_collection = requests.RequestCollection([]) # Endpoint: /stores, method: Get request = requests.Request([ primitives.restler_static_string("GET "), primitives.restler_static_string("/"), primitives.restler_static_string("api"), primitives.restler_static_string("/"), primitives.restler_static_string("stores"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_static_string("Accept: application/json\r\n"), primitives.restler_static_string("Host: localhost:8888\r\n"), primitives.restler_refreshable_authentication_token( "authentication_token_tag"), primitives.restler_static_string("\r\n"), ], requestId="/stores") req_collection.add_request(request) # Endpoint: /stores/{storeId}/order, method: Post request = requests.Request([ primitives.restler_static_string("POST "), primitives.restler_static_string("/"), primitives.restler_static_string("api"), primitives.restler_static_string("/"), primitives.restler_static_string("stores"),
req_collection = requests.RequestCollection([]) # Endpoint: /stores, method: Post request = requests.Request([ primitives.restler_static_string("POST "), primitives.restler_static_string("/"), primitives.restler_static_string("api"), primitives.restler_static_string("/"), primitives.restler_static_string("stores"), primitives.restler_static_string(" HTTP/1.1\r\n"), primitives.restler_static_string("Accept: application/json\r\n"), primitives.restler_static_string("Host: localhost:8888\r\n"), primitives.restler_static_string("\r\n"), { 'post_send': { 'parser': parse_storespost, 'dependencies': [ _stores_post_delivery_metadata.writer(), _stores_post_id.writer(), _stores_post_metadata.writer() ] } }, ], requestId="/stores") req_collection.add_request(request) # Endpoint: /stores/{storeId}/order, method: Post request = requests.Request([