@@ -404,7 +404,7 @@ test_search_endpoint() {
404404}
405405
406406test_id_endpoint () {
407- log_section " Testing /api/ id/:id Endpoint"
407+ log_section " Testing /id/:id Endpoint"
408408
409409 ENDPOINT_DESCRIPTIONS[" id" ]=" Retrieve object by ID"
410410
@@ -854,7 +854,7 @@ test_delete_endpoint() {
854854}
855855
856856test_history_endpoint () {
857- log_section " Testing /api/ history Endpoint"
857+ log_section " Testing /history/:id Endpoint"
858858
859859 ENDPOINT_DESCRIPTIONS[" history" ]=" Get object version history"
860860
@@ -909,7 +909,7 @@ test_history_endpoint() {
909909}
910910
911911test_since_endpoint () {
912- log_section " Testing /api/ since Endpoint"
912+ log_section " Testing /since/:id Endpoint"
913913
914914 ENDPOINT_DESCRIPTIONS[" since" ]=" Get objects modified since timestamp"
915915
@@ -2331,18 +2331,18 @@ main() {
23312331 # For ID, history, since - use objects created in Phase 1 (these will cause cache misses too)
23322332 if [ ${# CREATED_IDS[@]} -gt 0 ]; then
23332333 local test_id=" ${CREATED_IDS[0]} "
2334- log_info " Testing /api/ id with full cache (cache miss - worst case)..."
2334+ log_info " Testing /id with full cache (cache miss - worst case)..."
23352335 result=$( measure_endpoint " $test_id " " GET" " " " ID retrieval with full cache (miss)" )
23362336 log_success " ID retrieval with full cache (cache miss)"
23372337
23382338 # Extract just the ID portion for history endpoint
23392339 local obj_id=$( echo " $test_id " | sed ' s|.*/||' )
2340- log_info " Testing /api/ history with full cache (cache miss - worst case)..."
2340+ log_info " Testing /history with full cache (cache miss - worst case)..."
23412341 result=$( measure_endpoint " ${API_BASE} /history/${obj_id} " " GET" " " " History with full cache (miss)" )
23422342 log_success " History with full cache (cache miss)"
23432343 fi
23442344
2345- log_info " Testing /api/ since with full cache (cache miss - worst case)..."
2345+ log_info " Testing /since with full cache (cache miss - worst case)..."
23462346 local since_timestamp=$(( $(date +% s) - 3600 ))
23472347 result=$( measure_endpoint " ${API_BASE} /since/${since_timestamp} " " GET" " " " Since with full cache (miss)" )
23482348 log_success " Since with full cache (cache miss)"
0 commit comments