Skip to content

Commit

Permalink
CC-34875: Dev performance Phase 2. SAPI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdanyevtukhov committed Mar 3, 2025
1 parent 95da56d commit f2ab244
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/resources/catalog-search.resource.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import AbstractResource from './abstract.resource';

export default class CatalogSearchResource extends AbstractResource {
constructor() {
super();
}

get(sku) {
return this.getRequest(`catalog-search?q=${sku}`);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const testConfiguration = {
metrics: ['SAPI2_get_catalog_search'],
thresholds: {
SAPI2_get_catalog_search: {
smoke: ['avg<200'],
load: ['avg<400'],
smoke: ['avg<400'],
load: ['avg<800'],
},
},
};
Expand Down

0 comments on commit f2ab244

Please sign in to comment.