I’m currently assessing the usage of botium in our organization, mainly for testing IBM Watson based bots. One thing I learnt is IBM watson is User-based plans , meaning how I represent that user in the API call impacts how the interactions are billed.
To run scripted regression test, we’d better use a single user_id for all of the calls within your regression test. Otherwise, watson will charge us via “session_id”.
So may I know how botium works when interacting with IBM watson? Thanks a lot for your help in advance.
Usually there are more than one test case, and it makes sense to make this a global logic hook so that it is used for all Watson API calls throughout your test suite. In Botium Core, this looks like this: