All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nablarch.test.rest-request-test.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
HTTPリクエスト単体テストを実施するための環境設定
-->
<component-configuration
    xmlns="http://tis.co.jp/nablarch/component-configuration"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://tis.co.jp/nablarch/component-configuration https://nablarch.github.io/schema/component-configuration.xsd">

  <!-- 環境設定ファイルの読み込み -->
  <config-file file="nablarch/test/http-request-test/http-request-test.config"/>

  <component name="restTestConfiguration"
             class="nablarch.test.core.http.RestTestConfiguration">
    <property name="webBaseDir" value="${nablarch.httpTestConfiguration.webBaseDir}"/>
    <property name="webFrontControllerKey" value="${nablarch.httpTestConfiguration.webFrontControllerKey}"/>
  </component>

  <component name="restMockHttpRequestBuilder" class="nablarch.fw.web.RestMockHttpRequestBuilder">
    <property name="defaultContentType" value="application/json"/>
    <property name="bodyConverters">
      <list>
        <component class="nablarch.fw.web.JacksonBodyConverter"/>
        <component class="nablarch.fw.web.StringBodyConverter"/>
      </list>
    </property>
  </component>

</component-configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy