python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py -d /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/ -f /home/admin/workarea/git/API//TestApiRouteJs/routeTestState/jsonFile/ -u https://marlene.fotonower.com/ -v -i /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/list_test.json ' -s Test_Route_marlene -M 0 -S 0 -U 90,80,95 import MySQLdb succeeded Ceci est un script de test api (test route) Access successful. 0%| | 0/37 [00:00 excluded value = param_json excluded value = list_steps JSON TEST : OK Status OK : 200 : 426 ms : api/v1/datou/search?limit=1 #https://marlene.fotonower.com/api/v1/datou/steps {'param': ['?limit=1'], 'json': 'api_v1_datou_steps.json', 'exclude_paths': ["[93]['nb_input']", "[93]['nb_output']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_steps.json' mode='r' encoding='UTF-8'> excluded value = [93]['nb_input'] excluded value = [93]['nb_output'] JSON TEST : NOT OK {'values_changed': {"root[18]['nb_output']": {'new_value': 2, 'old_value': 1}, "root[106]['nb_input']": {'new_value': 5, 'old_value': 4}}, 'iterable_item_added': {'root[118]': {'step_type': 'paddle_seg', 'nb_input': 1, 'nb_output': 2, 'list_input': [], 'list_output': []}, 'root[119]': {'step_type': 'sam', 'nb_input': 1, 'nb_output': 2, 'list_input': [], 'list_output': []}, 'root[120]': {'step_type': 'styleGAN3', 'nb_input': 1, 'nb_output': 1, 'list_input': [], 'list_output': []}, 'root[121]': {'step_type': 'pytorch_transformer', 'nb_input': 1, 'nb_output': 2, 'list_input': [], 'list_output': []}, 'root[122]': {'step_type': 'merge_dashboard', 'nb_input': 2, 'nb_output': 1, 'list_input': [], 'list_output': []}, 'root[123]': {'step_type': 'client', 'nb_input': 1, 'nb_output': 1, 'list_input': [], 'list_output': []}}} Here we are ! l 154 Status OK : 200 : 295 ms : api/v1/datou/steps?limit=1 #https://marlene.fotonower.com/api/v1/datou/current {'param': ['?'], 'json': 'api_v1_datou_current.json', 'exclude_paths': ["['current']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_current.json' mode='r' encoding='UTF-8'> excluded value = ['current'] JSON TEST : OK Status OK : 200 : 294 ms : api/v1/datou/current? #https://marlene.fotonower.com/api/v1/datou/done {'param': ['?limit=1'], 'json': 'api_v1_datou_done.json', 'exclude_paths': ["['done']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_done.json' mode='r' encoding='UTF-8'> excluded value = ['done'] JSON TEST : OK Status OK : 200 : 817 ms : api/v1/datou/done?limit=1 #https://marlene.fotonower.com/api/v1/datou/result {'param': ['?limit=1'], 'json': 'api_v1_datou_result.json', 'exclude_paths': ["['done']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_result.json' mode='r' encoding='UTF-8'> excluded value = ['done'] JSON TEST : OK Status OK : 200 : 733 ms : api/v1/datou/result?limit=1 #https://marlene.fotonower.com/api/v1/secured/datou/result {'param': ['?token=390a55a434f90465efc1381ca5048589', '&limit=1'], 'json': 'api_v1_secured_datou_result.json'} Number of datou : 0 liste datou id :[] Number of datou : 0 liste datou id :[] <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_datou_result.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 834 ms : api/v1/secured/datou/result?token=390a55a434f90465efc1381ca5048589&limit=1 #https://marlene.fotonower.com/api/v1/thcls {'param': ['?limit=2', '&keyword=Toureiffel_15_SVMPP'], 'json': 'api_v1_thcls.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_thcls.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 341 ms : api/v1/thcls?limit=2&keyword=Toureiffel_15_SVMPP #https://marlene.fotonower.com/api/v1/thcl {'param': ['?keyword=test', '&limit=1'], 'json': 'api_v1_thcl.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_thcl.json' mode='r' encoding='UTF-8'> Status OK : 200 : 282 ms : api/v1/thcl?keyword=test&limit=1 #https://marlene.fotonower.com/api/v1/thcl/377 {'param': ['?'], 'json': 'api_v1_thcl_377.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_thcl_377.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 295 ms : api/v1/thcl/377? #https://marlene.fotonower.com/api/v1/velours/crop/modify/search {'param': ['?hashtag_type=375'], 'json': 'api_v1_velours_crop_modify_search.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_crop_modify_search.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 258 ms : api/v1/velours/crop/modify/search?hashtag_type=375 #https://marlene.fotonower.com/api/v1/photo/list {'param': ['?'], 'json': 'api_v1_photo_list.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_photo_list.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 232 ms : api/v1/photo/list? #https://marlene.fotonower.com/api/v1/secured/photo {'param': ['?token=390a55a434f90465efc1381ca5048589', '&limit=1', '&portfolio_id=545450'], 'json': 'api_v1_secured_photo.json', 'exclude_paths': ["['data']", "['meta']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_photo.json' mode='r' encoding='UTF-8'> excluded value = ['data'] excluded value = ['meta'] JSON TEST : OK Status OK : 200 : 85 ms : api/v1/secured/photo?token=390a55a434f90465efc1381ca5048589&limit=1&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/photo/onerrorload/list {'param': ['?type_error=test'], 'json': 'api_v1_photo_onerrorload_list.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_photo_onerrorload_list.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 253 ms : api/v1/photo/onerrorload/list?type_error=test #https://marlene.fotonower.com/api/v1/portfolio/load/545450 {'param': ['?limit=1'], 'json': 'api_v1_portfolio_load_545450.json', 'exclude_paths': ["['portfolio']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_load_545450.json' mode='r' encoding='UTF-8'> excluded value = ['portfolio'] HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/portfolio/search {'param': ['?limit=1', '&keyword=crop_detect_varroa_31087'], 'json': 'api_v1_portfolio_search.json', 'exclude_paths': ["[1]['created_at']", "[1]['updated_at']", "[0]['created_at']", "[0]['updated_at']", "root[0]['portfolio_name']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_search.json' mode='r' encoding='UTF-8'> excluded value = [1]['created_at'] excluded value = [1]['updated_at'] excluded value = [0]['created_at'] excluded value = [0]['updated_at'] excluded value = root[0]['portfolio_name'] JSON TEST : OK Status OK : 200 : 860 ms : api/v1/portfolio/search?limit=1&keyword=crop_detect_varroa_31087 #https://marlene.fotonower.com/api/v1/portfolio/search/associate {'param': ['?search_id=0', '&portfolio_id=545450'], 'json': 'api_v1_portfolio_search_associate.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_search_associate.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 313 ms : api/v1/portfolio/search/associate?search_id=0&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/portfolio/search/remove {'param': ['?search_id=0', '&portfolio_id=545450'], 'json': 'api_v1_portfolio_search_remove.json'} Loading...: 46%|████▌ | 17/37 [01:19<02:55, 8.78s/it] Loading...: 49%|████▊ | 18/37 [01:19<02:01, 6.41s/it] Loading...: 49%|████▊ | 18/37 [01:20<02:01, 6.41s/it] Loading...: 51%|█████▏ | 19/37 [01:20<01:22, 4.61s/it] Loading...: 51%|█████▏ | 19/37 [01:20<01:22, 4.61s/it] Loading...: 54%|█████▍ | 20/37 [01:20<00:57, 3.38s/it] Loading...: 54%|█████▍ | 20/37 [01:22<00:57, 3.38s/it] Loading...: 57%|█████▋ | 21/37 [01:22<00:48, 3.01s/it] Loading...: 57%|█████▋ | 21/37 [01:39<00:48, 3.01s/it] Loading...: 59%|█████▉ | 22/37 [01:39<01:48, 7.23s/it] Loading...: 59%|█████▉ | 22/37 [01:40<01:48, 7.23s/it] Loading...: 62%|██████▏ | 23/37 [01:40<01:12, 5.16s/it] Loading...: 62%|██████▏ | 23/37 [01:40<01:12, 5.16s/it] Loading...: 65%|██████▍ | 24/37 [01:40<00:48, 3.71s/it] Loading...: 65%|██████▍ | 24/37 [01:40<00:48, 3.71s/it] Loading...: 68%|██████▊ | 25/37 [01:40<00:32, 2.69s/it] Loading...: 68%|██████▊ | 25/37 [01:41<00:32, 2.69s/it] Loading...: 70%|███████ | 26/37 [01:41<00:21, 1.98s/it] Loading...: 70%|███████ | 26/37 [02:31<00:21, 1.98s/it] Loading...: 73%|███████▎ | 27/37 [02:31<02:45, 16.55s/it] Loading...: 73%|███████▎ | 27/37 [02:31<02:45, 16.55s/it] Loading...: 76%|███████▌ | 28/37 [02:31<02:28, 16.55s/it] Loading...: 78%|███████▊ | 29/37 [02:31<01:11, 8.99s/it] Loading...: 78%|███████▊ | 29/37 [02:32<01:11, 8.99s/it] Loading...: 81%|████████ | 30/37 [02:32<00:47, 6.84s/it] Loading...: 81%|████████ | 30/37 [02:32<00:47, 6.84s/it] Loading...: 84%|████████▍ | 31/37 [02:32<00:30, 5.13s/it] Loading...: 84%|████████▍ | 31/37 [02:32<00:30, 5.13s/it] Loading...: 86%|████████▋ | 32/37 [02:32<00:19, 3.82s/it] Loading...: 86%|████████▋ | 32/37 [02:34<00:19, 3.82s/it] Loading...: 89%|████████▉ | 33/37 [02:34<00:13, 3.27s/it] Loading...: 89%|████████▉ | 33/37 [02:35<00:13, 3.27s/it] Loading...: 92%|█████████▏| 34/37 [02:35<00:07, 2.42s/it] Loading...: 92%|█████████▏| 34/37 [02:35<00:07, 2.42s/it]<_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_search_remove.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 318 ms : api/v1/portfolio/search/remove?search_id=0&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/secured/portfolio/load/545450 {'param': ['?search_id=5', '&portfolio_id=545450'], 'json': 'api_v1_secured_portfolio_load_545450.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_portfolio_load_545450.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 114 ms : api/v1/secured/portfolio/load/545450?search_id=5&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/user {'param': ['?limit=1', '&key=22', '&user=0'], 'json': 'api_v1_user.json', 'exclude_paths': ["['technical_referent']", "['user']", "['aux_data']['default_price_sell']", "['technical_referent']", "['default_license_type']", "['actions']['classification_actions']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_user.json' mode='r' encoding='UTF-8'> excluded value = ['technical_referent'] excluded value = ['user'] excluded value = ['aux_data']['default_price_sell'] excluded value = ['technical_referent'] excluded value = ['default_license_type'] excluded value = ['actions']['classification_actions'] JSON TEST : OK Status OK : 200 : 380 ms : api/v1/user?limit=1&key=22&user=0 #https://marlene.fotonower.com/api/v1/photo {'param': ['?photo_id=460728'], 'json': 'api_v1_photo.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_photo.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 105 ms : api/v1/photo?photo_id=460728 #https://marlene.fotonower.com/api/v1/portfolio/associatedsearch {'param': ['?mtr_portfolio_id=3201720'], 'json': 'api_v1_portfolio_associatedsearch.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_associatedsearch.json' mode='r' encoding='UTF-8'> Status OK : 200 : 326 ms : api/v1/portfolio/associatedsearch?mtr_portfolio_id=3201720 #https://marlene.fotonower.com/api/v1/secured/portfolio/featured {'param': ['?limit=1'], 'json': 'api_v1_secured_portfolio_featured.json', 'excludes_paths': ["['aux']['counter_license']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_portfolio_featured.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 231 ms : api/v1/secured/portfolio/featured?limit=1 #https://marlene.fotonower.com/api/v1/user/photo/hd {'param': ['?'], 'json': 'api_v1_user_photo_hd.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_user_photo_hd.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 285 ms : api/v1/user/photo/hd? #https://marlene.fotonower.com/api/v1/manual {'param': ['?keyword=test', '&limit=1'], 'json': 'api_v1_manual.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_manual.json' mode='r' encoding='UTF-8'> Status OK : 200 : 300 ms : api/v1/manual?keyword=test&limit=1 #https://marlene.fotonower.com/api/v1/manual/ {'param': ['pbname=test', '&limit=1'], 'json': 'api_v1_manual?.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_manual?.json' mode='r' encoding='UTF-8'> Status OK : 200 : 312 ms : api/v1/manual/pbname=test&limit=1 #https://marlene.fotonower.com/api/v1/velours/bucket {'param': ['?'], 'json': 'api_v1_velours_bucket.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_bucket.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 675 ms : api/v1/velours/bucket? #https://marlene.fotonower.com/api/v1/secured/velours/features {'param': ['?'], 'json': 'api_v1_ecured_velours_features.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_ecured_velours_features.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 41 ms : api/v1/secured/velours/features? #https://marlene.fotonower.com/api/v1/velours/features {'param': ['?'], 'json': 'api_v1_velours_features.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_features.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 245 ms : api/v1/velours/features? #https://marlene.fotonower.com/api/v1/velours/tree {'param': ['?'], 'json': 'api_v1_velours_tree.json', 'exclude_paths': ["['tree']['meta']['mtr_user_id']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_tree.json' mode='r' encoding='UTF-8'> excluded value = ['tree']['meta']['mtr_user_id'] JSON TEST : OK Status OK : 200 : 327 ms : api/v1/velours/tree? #https://marlene.fotonower.com/api/v1/velours/trees {'param': ['?'], 'json': 'api_v1_velours_trees.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_trees.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 281 ms : api/v1/velours/trees? #https://marlene.fotonower.com/api/v1/admin/servers {'param': ['?limit=1'], 'json': 'api_v1_admin_servers.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_admin_servers.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 304 ms : api/v1/admin/servers?limit=1 #https://marlene.fotonower.com/api/v1/search/all {'param': ['?limit=1'], 'json': 'api_v1_search_all.json', 'exclude_paths': ["['search_finished'][0]['duration']", "['search_finished'][0]['timestamp']", "['search_finished'][0]['data_answer_id']", "['search_finished'][0]['id']", "['search_finished'][0]['sp']['id']", "['search_not_finished']", "['search_not_finished'][0]", "['search_auto'][0]"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_search_all.json' mode='r' encoding='UTF-8'> excluded value = ['search_finished'][0]['duration'] excluded value = ['search_finished'][0]['timestamp'] excluded value = ['search_finished'][0]['data_answer_id'] excluded value = ['search_finished'][0]['id'] excluded value = ['search_finished'][0]['sp']['id'] excluded value = ['search_not_finished'] excluded value = ['search_not_finished'][0] excluded value = ['search_auto'][0] JSON TEST : NOT OK {'values_changed': {"root['search_finished'][0]['query']": {'new_value': 'select ph.* from MTRBack.photos ph WHERE latitude > 48.75 AND latitude < 48.95 AND longitude > 2.25 AND longitude < 2.45 AND right_categories=0 ORDER BY ph.`photo_id` desc LIMIT 100 OFFSET 0', 'old_value': 'select ph.* from MTRUser.mtr_photos ph WHERE latitude > 48.75 AND latitude < 48.95 AND longitude > 2.25 AND longitude < 2.45 AND right_categories=0 ORDER BY ph.`photo_id` desc LIMIT 100 OFFSET 0'}, "root['search_finished'][0]['sp']['db']": {'new_value': 'sql', 'old_value': 'sql,MTRBack,MTRUser.mtr_photos'}}} Here we are ! l 154 Status OK : 200 : 857 ms : api/v1/search/all?limit=1 #https://marlene.fotonower.com/api/v1/sqlprocess/all {'param': ['?'], 'json': 'api_v1_sqlprocess_all.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_sqlprocess_all.json' mode='r' encoding='UTF-8'> Status OK : 200 : 283 ms : api/v1/sqlprocess/all? #https://marlene.fotonower.com/api/v1/token/verify {'param': ['?'], 'json': 'api_v1_token_verify.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_token_verify.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 29 ms : api/v1/token/verify? #https://marlene.fotonower.com/api/v1/imt/getCategories {'param': ['?'], 'json': 'api_v1_imt_getCategories.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_imt_getCategories.json' mode='r' encoding='UTF-8'> Loading...: 95%|█████████▍| 35/37 [02:35<00:04, 2.42s/it] Loading...: 97%|█████████▋| 36/37 [02:35<00:01, 1.42s/it] Loading...: 97%|█████████▋| 36/37 [02:36<00:01, 1.42s/it] Loading...: 100%|██████████| 37/37 [02:36<00:00, 1.42s/it] JSON TEST : OK Status OK : 200 : 362 ms : api/v1/imt/getCategories? #https://marlene.fotonower.com/api/v1/datou/result/list {'param': ['?'], 'json': 'api_v1_datou_result_list.json', 'exclude_paths': ["['datou_current_ids']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_result_list.json' mode='r' encoding='UTF-8'> excluded value = ['datou_current_ids'] JSON TEST : OK Status OK : 200 : 412 ms : api/v1/datou/result/list? data_root_result : {'endpoint_success': [{'url': 'api/v1/secured/datou/result/list?token=390a55a434f90465efc1381ca5048589&limit=1', 'status': 200}, {'url': 'api/v1/datou/search?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/datou/current?', 'status': 'JSON OK'}, {'url': 'api/v1/datou/done?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/datou/result?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/secured/datou/result?token=390a55a434f90465efc1381ca5048589&limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/thcls?limit=2&keyword=Toureiffel_15_SVMPP', 'status': 'JSON OK'}, {'url': 'api/v1/thcl?keyword=test&limit=1', 'status': 200}, {'url': 'api/v1/thcl/377?', 'status': 'JSON OK'}, {'url': 'api/v1/velours/crop/modify/search?hashtag_type=375', 'status': 'JSON OK'}, {'url': 'api/v1/photo/list?', 'status': 'JSON OK'}, {'url': 'api/v1/secured/photo?token=390a55a434f90465efc1381ca5048589&limit=1&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/photo/onerrorload/list?type_error=test', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/search?limit=1&keyword=crop_detect_varroa_31087', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/search/associate?search_id=0&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/search/remove?search_id=0&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/secured/portfolio/load/545450?search_id=5&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/user?limit=1&key=22&user=0', 'status': 'JSON OK'}, {'url': 'api/v1/photo?photo_id=460728', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/associatedsearch?mtr_portfolio_id=3201720', 'status': 200}, {'url': 'api/v1/secured/portfolio/featured?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/user/photo/hd?', 'status': 'JSON OK'}, {'url': 'api/v1/manual?keyword=test&limit=1', 'status': 200}, {'url': 'api/v1/manual/pbname=test&limit=1', 'status': 200}, {'url': 'api/v1/velours/bucket?', 'status': 'JSON OK'}, {'url': 'api/v1/secured/velours/features?', 'status': 'JSON OK'}, {'url': 'api/v1/velours/features?', 'status': 'JSON OK'}, {'url': 'api/v1/velours/tree?', 'status': 'JSON OK'}, {'url': 'api/v1/velours/trees?', 'status': 'JSON OK'}, {'url': 'api/v1/admin/servers?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/sqlprocess/all?', 'status': 200}, {'url': 'api/v1/token/verify?', 'status': 'JSON OK'}, {'url': 'api/v1/imt/getCategories?', 'status': 'JSON OK'}, {'url': 'api/v1/datou/result/list?', 'status': 'JSON OK'}], 'endpoint_fail': [{'url': 'api/v1/datou/steps?limit=1', 'status': 'JSON NOTOK'}, {'url': 'api/v1/portfolio/load/545450?limit=1', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/search/all?limit=1', 'status': 'JSON NOTOK'}], 'endpoint_warning': [], 'endpoint_timeout': []} /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py refs/heads/for_magister_mig_label_wip_8530c210681bcaf3b8d4b8d2cbd188745e4cc15c SQL :INSERT INTO MTRAdmin.monitor_sys (name, type, server, version_code, result_str, result_bool, lien , test_group ,test_name) VALUES ('Test_api','2','marlene','refs/heads/for_magister_mig_label_wip_8530c210681bcaf3b8d4b8d2cbd188745e4cc15c','{"api/v1/datou/steps?limit=1": "fail", "api/v1/portfolio/load/545450?limit=1": "fail", "api/v1/search/all?limit=1": "fail"}','0','http://marlene.fotonower-preprod.com/job/2026/March/06032026/Test_Route_marlene/','marlene','route'); ##########result_test_route######### { "endpoint_fail": [ { "status": "JSON NOTOK", "url": "api/v1/datou/steps?limit=1" }, { "status": "'HTTP Error 500: Internal Server Error'", "url": "api/v1/portfolio/load/545450?limit=1" }, { "status": "JSON NOTOK", "url": "api/v1/search/all?limit=1" } ], "endpoint_success": [ { "status": 200, "url": "api/v1/secured/datou/result/list?token=390a55a434f90465efc1381ca5048589&limit=1" }, { "status": "JSON OK", "url": "api/v1/datou/search?limit=1" }, { "status": "JSON OK", "url": "api/v1/datou/current?" }, { "status": "JSON OK", "url": "api/v1/datou/done?limit=1" }, { "status": "JSON OK", "url": "api/v1/datou/result?limit=1" }, { "status": "JSON OK", "url": "api/v1/secured/datou/result?token=390a55a434f90465efc1381ca5048589&limit=1" }, { "status": "JSON OK", "url": "api/v1/thcls?limit=2&keyword=Toureiffel_15_SVMPP" }, { "status": 200, "url": "api/v1/thcl?keyword=test&limit=1" }, { "status": "JSON OK", "url": "api/v1/thcl/377?" }, { "status": "JSON OK", "url": "api/v1/velours/crop/modify/search?hashtag_type=375" }, { "status": "JSON OK", "url": "api/v1/photo/list?" }, { "status": "JSON OK", "url": "api/v1/secured/photo?token=390a55a434f90465efc1381ca5048589&limit=1&portfolio_id=545450" }, { "status": "JSON OK", "url": "api/v1/photo/onerrorload/list?type_error=test" }, { "status": "JSON OK", "url": "api/v1/portfolio/search?limit=1&keyword=crop_detect_varroa_31087" }, { "status": "JSON OK", "url": "api/v1/portfolio/search/associate?search_id=0&portfolio_id=545450" }, { "status": "JSON OK", "url": "api/v1/portfolio/search/remove?search_id=0&portfolio_id=545450" }, { "status": "JSON OK", "url": "api/v1/secured/portfolio/load/545450?search_id=5&portfolio_id=545450" }, { "status": "JSON OK", "url": "api/v1/user?limit=1&key=22&user=0" }, { "status": "JSON OK", "url": "api/v1/photo?photo_id=460728" }, { "status": 200, "url": "api/v1/portfolio/associatedsearch?mtr_portfolio_id=3201720" }, { "status": "JSON OK", "url": "api/v1/secured/portfolio/featured?limit=1" }, { "status": "JSON OK", "url": "api/v1/user/photo/hd?" }, { "status": 200, "url": "api/v1/manual?keyword=test&limit=1" }, { "status": 200, "url": "api/v1/manual/pbname=test&limit=1" }, { "status": "JSON OK", "url": "api/v1/velours/bucket?" }, { "status": "JSON OK", "url": "api/v1/secured/velours/features?" }, { "status": "JSON OK", "url": "api/v1/velours/features?" }, { "status": "JSON OK", "url": "api/v1/velours/tree?" }, { "status": "JSON OK", "url": "api/v1/velours/trees?" }, { "status": "JSON OK", "url": "api/v1/admin/servers?limit=1" }, { "status": 200, "url": "api/v1/sqlprocess/all?" }, { "status": "JSON OK", "url": "api/v1/token/verify?" }, { "status": "JSON OK", "url": "api/v1/imt/getCategories?" }, { "status": "JSON OK", "url": "api/v1/datou/result/list?" } ], "endpoint_timeout": [], "endpoint_warning": [] } #######end_result_ test_route####### Status 200 : 36 Status 400 : 0 Status 404 : 0 Status 403 : 0 Status 500 : 1 Json Test OK: 28 Json Test NOT OK : 2 Status Time_out : 0 0.63user 0.74system 2:38.22elapsed 0%CPU (0avgtext+0avgdata 52856maxresident)k 2736inputs+168outputs (3major+12259minor)pagefaults 0swaps