parent
4e88774084
commit
5b3dd8049a
|
@ -78,7 +78,6 @@ public class RunningScriptSampler {
|
||||||
runningAgent.getAgent(),
|
runningAgent.getAgent(),
|
||||||
runningAgent.getAgentRunId());
|
runningAgent.getAgentRunId());
|
||||||
addScriptResultModelStatistics(testBriefStatusModel);
|
addScriptResultModelStatistics(testBriefStatusModel);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return getScriptResultModel();
|
return getScriptResultModel();
|
||||||
|
@ -125,48 +124,6 @@ public class RunningScriptSampler {
|
||||||
return scriptResultModel;
|
return scriptResultModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
private ScriptBriefResultModel getScriptBrief() {
|
|
||||||
for (RunningAgentInterface runningAgent : getRunningAgents()) {
|
|
||||||
if (runningAgent.isBreakDown()) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
AgentBriefStatusModel briefStatusModel = this.getAgentMessenger()
|
|
||||||
.brief(runningAgent.getAgent(),
|
|
||||||
runningAgent.getAgentRunId());
|
|
||||||
if (briefStatusModel == null) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
getScriptBriefStatistics().add(briefStatusModel);
|
|
||||||
}
|
|
||||||
return (ScriptBriefResultModel) getScriptBriefStatistics()
|
|
||||||
.getStatistics();
|
|
||||||
}
|
|
||||||
|
|
||||||
private ScriptBehaviorsBriefModel getBehaviorsBrief() {
|
|
||||||
for (RunningAgentInterface runningAgent : getRunningAgents()) {
|
|
||||||
getBehaviorsBriefStatistics().add(
|
|
||||||
this.getAgentMessenger().behaviorsBrief(
|
|
||||||
runningAgent.getAgent(),
|
|
||||||
runningAgent.getAgentRunId()));
|
|
||||||
}
|
|
||||||
|
|
||||||
ScriptBehaviorsBriefModel result = (ScriptBehaviorsBriefModel) getBehaviorsBriefStatistics()
|
|
||||||
.getStatistics();
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
private ScriptPagesBriefModel getPagesBrief() {
|
|
||||||
for (RunningAgentInterface runningAgent : getRunningAgents()) {
|
|
||||||
this.getPagesBriefStatistics().add(
|
|
||||||
this.getAgentMessenger().pagesBrief(
|
|
||||||
runningAgent.getAgent(),
|
|
||||||
runningAgent.getAgentRunId()));
|
|
||||||
}
|
|
||||||
ScriptPagesBriefModel result = (ScriptPagesBriefModel) this
|
|
||||||
.getPagesBriefStatistics().getStatistics();
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
private DataStatistics getScriptBriefStatistics() {
|
private DataStatistics getScriptBriefStatistics() {
|
||||||
return getSpecificDataStatistics(ScriptBriefStatistics.class);
|
return getSpecificDataStatistics(ScriptBriefStatistics.class);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue