Skip to content

Commit

Permalink
test: change output of endpoint helper function for load testing #258
Browse files Browse the repository at this point in the history
- Testing done with Apache JMeter
  • Loading branch information
MRichards99 committed Nov 24, 2021
1 parent 8dba0e1 commit 71cc98a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions datagateway_api/src/search_api/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@
# given to these functions
@client_manager
def get_search(entity_name, filters=None):
# TODO - Remove this debug logging when implementing the endpoints, this is just to
# show the client handling works
log.debug(
"Client: %s, Session ID: %s",
SessionHandler.client,
SessionHandler.client.sessionId,
)
# TODO - `getApiVersion()` used as a placeholder for testing client handling
# Replace with endpoint functionality when implementing the endpoints
return SessionHandler.client.getApiVersion()


@client_manager
Expand Down

0 comments on commit 71cc98a

Please sign in to comment.