Hi,
What value should I pass for “browserType” if I have to run API test through command line ?
Hi,
What value should I pass for “browserType” if I have to run API test through command line ?
https://docs.katalon.com/display/KD/Console+Mode+Execution lists -browserType values, for WebUI testing.
Is “browserType” for API test different from that for WebUI test?
Or, is “browser” necessary for API test? — Ah, the document is saying it is mandatory. Then why not just type “Firefox” or “Chrome” and try to see how it works.
Hi kazurayam,
maybe like this
./Katalon\ Studio.app/Contents/MacOS/katalon --args -noSplash -runMode=console -consoleLog -projectPath='xxxxxxx_xxxx_xxxxj' -retry=0 -testSuitePath='Test Suites/test_login' -executionProfile='SIT' -browserType='Web Service
’
but i have some issue…
i have already created API testing with Command line, but i have some issue after run this command line
Test Suit Collection or Test Suites on console always give status incomplete (stuck on response) on script
def response = WS.sendRequest(findTestObject('xxxx'))
but when run in the application katalon there is no error (completed 100%)
can you help me ?
Unless you provide enough information, it is difficult. Please follow the following guide: