question

NickL avatar image
NickL asked ericnute edited

Writing to Test Report DB from iTestRT

Hi,

 

I'm using the following iTestRT command but the report doesn't seem to be going into the DB.  Is there anything wrong here?  I''m wondering if I have to specify the Connection URI (but I'm a little confused as to what this should be)?

 

 

I:\iTest_4.0\iTestRT>itestrt --itar file:/i:/itars --test project://my_project/test_cases/linux_ping_test.fftc --dbtype
MySQL --ipaddr localhost --trdb.user root --trdb.password fanfare --port 3306 --catalog itestReports --host usb

 

 

iTestiTest Runtime (itestrt)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
madhuri avatar image
madhuri answered madhuri posted

Hi Nick,

 

Specify the database options first and then give the testcase path. Please try this.

 

I:\iTest_4.0\iTestRT>itestrt --itar file:/i:/itars --dbtype MySQL --ipaddr localhost --trdb.user root --trdb.password fanfare --port 3306 --catalog itestReports --host usb --test project://my_project/test_cases/linux_ping_test.ff tc 

 

Thanks,

Madhuri.

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

NickL avatar image NickL commented ·

Perfect, thanks!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.