Skip to content

Commit

Permalink
Merge pull request SmartBear#307 from SmartBear/SOAPUIOS-330_No_event…
Browse files Browse the repository at this point in the history
…_tracked_after_running_toolrunner

SOAPUIOS-330 no event tracked after running toolrunner
  • Loading branch information
AlexanderChernyaev authored Nov 17, 2017
2 parents 45e3db6 + 5e4638e commit 20a2b17
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import com.eviware.soapui.SoapUI;
import com.eviware.soapui.analytics.Analytics;
import com.eviware.soapui.analytics.AnalyticsHelper;
import com.eviware.soapui.analytics.SoapUIActions;
import com.eviware.soapui.impl.wsdl.WsdlProject;
import com.eviware.soapui.impl.wsdl.WsdlProjectFactory;
Expand Down Expand Up @@ -94,6 +95,8 @@ public boolean runRunner() throws Exception {
if (!new File(projectFile).exists()) {
throw new Exception("SoapUI project file [" + projectFile + "] not found");
}
AnalyticsHelper.initializeAnalytics();
Analytics.trackAction(SoapUIActions.RUN_TOOL_FROM_COMMAND_LINE, "Tool", tool);

// WsdlProject project = new WsdlProject( projectFile,
// getProjectPassword() );
Expand Down Expand Up @@ -148,7 +151,6 @@ public void runTool(Interface iface) {
public void run(ToolRunner runner) throws Exception {
status = RunnerStatus.RUNNING;
runner.setContext(this);
Analytics.trackAction(SoapUIActions.RUN_TOOL_FROM_COMMAND_LINE, "Tool", runner.getName());

runner.run();
}
Expand Down

0 comments on commit 20a2b17

Please sign in to comment.