Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Commit

Permalink
[HAL865] - Refresh button on webservices runtime view does not refres…
Browse files Browse the repository at this point in the history
…h statistics
  • Loading branch information
dpospisil committed Sep 29, 2015
1 parent efe831c commit a64f9f2
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,14 @@ public void updateEndpoints(List<WebServiceEndpoint> endpoints) {
ColumnSortEvent.fire(table, table.getColumnSortList());

table.selectDefaultEntity();
SingleSelectionModel<WebServiceEndpoint> selectionModel =
(SingleSelectionModel<WebServiceEndpoint>) table.getSelectionModel();
WebServiceEndpoint selection = selectionModel.getSelectedObject();
sampler.addSample(
new Metric(
selection.getRequestCount(),
selection.getResponseCount(),
selection.getFaultCount()
));
}
}

0 comments on commit a64f9f2

Please sign in to comment.