apply review comment to use one string function
log response in the test