Collections:
Truncate Test Case and Test Run Tables
How to Truncate Test Case and Test Run Tables? I want to remove old data and start it over from empty tables.
✍: FYIcenter.com
You can follow this tutorials to truncate Test Case and Test Run Tables.
1. Create a SQL script file, TruncateTestMan.sql:
-- TruncateTestMan.sql use TestMan; truncate table Test_Run_Case_Step_Input; truncate table Test_Run_Case_Step_Assertion; truncate table Test_Run_Case_Step; truncate table Test_Run_Case_Parameter; truncate table Test_Run_Case; truncate table Test_Run; truncate table Test_Case_Step_Input; truncate table Test_Case_Step_Assertion; truncate table Test_Case_Step; truncate table Test_Case_Reference; truncate table Test_Case_History; truncate table Test_Case_Parameter; truncate table Test_Case;
2. Run TruncateTestMan.sql:
>\fyicenter\mysql\bin\mysql -u fyicenter < TruncateTestMan.sql
⇒ Generating Reports from TestMan Database
⇐ Archive JMeter Test Result Data
2017-11-26, 2815🔥, 0💬
Popular Posts:
How to validate domain name format? In order to help your programming or testing tasks, FYIcenter.co...
How to access Response Status Code 400 as Success? My sampler failed, because the server returns the...
How to Pass Windows Environment Variable to JMeter? I want to use Windows temporary folder environme...
How to generate test phone numbers for US and Canada? Test phone numbers are frequently needed in te...
How to generate test credit card numbers? Test credit card numbers are frequently needed in testing ...