Skip to content

Commit

Permalink
[plugin-web-app-to-rest-api] Avoid request/response reporting for res…
Browse files Browse the repository at this point in the history
…ource checking steps
  • Loading branch information
EDbarvinsky committed Mar 30, 2023
1 parent e95aeef commit 75b55a7
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,32 @@
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd"
default-lazy-init="true" profile="web">

<bean id="httpClient-WebAppToRestApi" class="org.vividus.http.client.HttpClient"
factory-bean="httpClientFactory"
factory-method="buildHttpClient">
<constructor-arg>
<bean parent="httpClientConfig">
<property name="headers">
<bean factory-bean="propertyParser" factory-method="getPropertyValuesByPrefix">
<constructor-arg value="rest-api.http.header." />
</bean>
</property>
<property name="httpResponseHandlers"><list/></property>
</bean>
</constructor-arg>
</bean>

<bean id="httpRequestSteps" class="org.vividus.steps.integration.HttpRequestSteps" />

<bean id="resourceCheckSteps" class="org.vividus.steps.integration.ResourceCheckSteps" init-method="init">
<property name="uriToIgnoreRegex" value="${resource-checker.uri-to-ignore-regex}" />
<constructor-arg name="httpRequestExecutor">
<bean class="org.vividus.http.HttpRequestExecutor">
<constructor-arg ref="httpClient-WebAppToRestApi" />
<constructor-arg ref="httpTestContext" />
<constructor-arg ref="softAssert" />
</bean>
</constructor-arg>
</bean>

<bean id="httpRedirectsProvider" class="org.vividus.http.HttpRedirectsProvider">
Expand Down

0 comments on commit 75b55a7

Please sign in to comment.