This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 6da231d  [test/plugin] immigrate test httpasyncclient scenario. (#3751)
6da231d is described below

commit 6da231d8c7cf6083ab1a4690ccd654132fcc1b9f
Author: aderm <[email protected]>
AuthorDate: Thu Oct 31 16:49:05 2019 +0800

    [test/plugin] immigrate test httpasyncclient scenario. (#3751)
    
    * [test/plugin] immigrate httpasyncclient scenario
---
 Jenkinsfile-Agent-Test                             |   7 +-
 .../httpasyncclient-scenario/bin/startup.sh        |  19 ++++
 .../config/expectedData.yaml                       |  93 +++++++++++++++
 .../httpasyncclient-scenario/configuration.yml     |  19 ++++
 .../scenarios/httpasyncclient-scenario/pom.xml     | 126 +++++++++++++++++++++
 .../src/main/assembly/assembly.xml                 |  41 +++++++
 .../testcase/httpasyncclient/BackController.java   |  31 +++++
 .../testcase/httpasyncclient/FrontController.java  | 106 +++++++++++++++++
 .../HttpasyncclientApplication.java                |  32 ++++++
 .../src/main/resource/application.yml              |  17 +++
 .../src/main/resource/log4j2.xml                   |  31 +++++
 .../httpasyncclient-scenario/support-version.list  |  22 ++++
 12 files changed, 543 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile-Agent-Test b/Jenkinsfile-Agent-Test
index cc9093c..e3f11f1 100755
--- a/Jenkinsfile-Agent-Test
+++ b/Jenkinsfile-Agent-Test
@@ -66,7 +66,7 @@ pipeline {
                 sh './mvnw -f test/plugin/pom.xml clean package -DskipTests 
-Dbuild_id=wl1_${BUILD_ID} docker:build'
             }
         }
-        stage('Test Cases Report (162)') {
+        stage('Test Cases Report (169)') {
             steps {
                 echo "reserve."
             }
@@ -81,6 +81,11 @@ pipeline {
             parallel {
                 stage('Group1') {
                     stages {
+                        stage('httpasyncclient 4.0-4.1.3 (7)') {
+                            steps {
+                                sh 'bash test/plugin/run.sh 
--build_id=wl1_${BUILD_ID} httpasyncclient-scenario'
+                            }
+                        }
                         stage('httpclient 4.3.x-4.5.x (14)') {
                             steps {
                                 sh 'bash test/plugin/run.sh 
--build_id=wl1_${BUILD_ID} httpclient-4.3.x-scenario'
diff --git a/test/plugin/scenarios/httpasyncclient-scenario/bin/startup.sh 
b/test/plugin/scenarios/httpasyncclient-scenario/bin/startup.sh
new file mode 100644
index 0000000..cf59d44
--- /dev/null
+++ b/test/plugin/scenarios/httpasyncclient-scenario/bin/startup.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+home="$(cd "$(dirname $0)"; pwd)"
+java -jar ${agent_opts} ${home}/../libs/httpasyncclient-scenario.jar &
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/config/expectedData.yaml 
b/test/plugin/scenarios/httpasyncclient-scenario/config/expectedData.yaml
new file mode 100644
index 0000000..985001d
--- /dev/null
+++ b/test/plugin/scenarios/httpasyncclient-scenario/config/expectedData.yaml
@@ -0,0 +1,93 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+registryItems:
+    applications:
+    - {httpasyncclient-scenario: nq 0}
+    instances:
+    - {httpasyncclient-scenario: 1}
+    operationNames:
+    - httpasyncclient-scenario: [/httpasyncclient/case/httpasyncclient, 
/httpasyncclient/back]
+segmentItems:
+- applicationCode: httpasyncclient-scenario
+  segmentSize: ge 4
+  segments:
+  - segmentId: not null
+    spans:
+      - operationName: /httpasyncclient/case/httpasyncclient
+        operationId: 0
+        parentSpanId: -1
+        spanId: 0
+        spanLayer: Http
+        startTime: nq 0
+        endTime: nq 0
+        componentId: not null
+        componentName: ''
+        isError: false
+        spanType: Entry
+        peer: ''
+        peerId: 0
+        tags:
+        - {key: url, value: 
'http://localhost:8080/httpasyncclient/case/httpasyncclient' }
+        - {key: http.method, value: GET }
+  - segmentId: not null
+    spans:
+      - operationName: /httpasyncclient/back
+        operationId: 0
+        parentSpanId: -1
+        spanId: 0
+        spanLayer: Http
+        startTime: nq 0
+        endTime: nq 0
+        componentId: not null
+        componentName: ''
+        isError: false
+        spanType: Entry
+        peer: ''
+        peerId: 0
+        tags:
+        - {key: url, value: 'http://127.0.0.1:8080/httpasyncclient/back' }
+        - {key: http.method, value: GET }
+  - segmentId: not null
+    spans:
+      - operationName: /httpasyncclient/back
+        operationId: 0
+        parentSpanId: 0
+        spanId: 1
+        spanLayer: Http
+        startTime: nq 0
+        endTime: nq 0
+        componentId: not null
+        componentName: ''
+        isError: false
+        spanType: Exit
+        peer: 127.0.0.1:8080
+        peerId: 0
+        tags:
+        - {key: url, value: 'http://127.0.0.1:8080/httpasyncclient/back' }
+        - {key: http.method, value: GET }
+      - operationName: httpasyncclient/local
+        operationId: 0
+        parentSpanId: -1
+        spanId: 0
+        spanLayer: not null
+        startTime: nq 0
+        endTime: nq 0
+        componentId: 0
+        componentName: ''
+        isError: false
+        spanType: Local
+        peer: ""
+        peerId: 0
diff --git a/test/plugin/scenarios/httpasyncclient-scenario/configuration.yml 
b/test/plugin/scenarios/httpasyncclient-scenario/configuration.yml
new file mode 100644
index 0000000..b6825e4
--- /dev/null
+++ b/test/plugin/scenarios/httpasyncclient-scenario/configuration.yml
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+type: jvm
+entryService: http://localhost:8080/httpasyncclient/case/httpasyncclient
+healthCheck: http://localhost:8080/httpasyncclient/case/healthcheck
+startScript: ./bin/startup.sh
+framework: httpasyncclient
diff --git a/test/plugin/scenarios/httpasyncclient-scenario/pom.xml 
b/test/plugin/scenarios/httpasyncclient-scenario/pom.xml
new file mode 100644
index 0000000..aecf775
--- /dev/null
+++ b/test/plugin/scenarios/httpasyncclient-scenario/pom.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.skywalking</groupId>
+    <artifactId>httpasyncclient-scenario</artifactId>
+    <version>6.5.0</version>
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <compiler.version>1.8</compiler.version>
+        <test.framework.version>4.1.2</test.framework.version>
+        <docker.image.version>${test.framework.version}</docker.image.version>
+        <spring-boot.version>1.5.9.RELEASE</spring-boot.version>
+        <lombok.version>1.16.20</lombok.version>
+        <log4j.version>2.8.1</log4j.version>
+    </properties>
+
+    <name>skywalking-httpasyncclient-scenario</name>
+
+    <dependencies>
+        <!-- spring boot -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter</artifactId>
+            <version>${spring-boot.version}</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                    <groupId>org.springframework.boot</groupId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+            <version>${spring-boot.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpasyncclient</artifactId>
+            <version>${test.framework.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>${lombok.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-api</artifactId>
+            <version>${log4j.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <version>${log4j.version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <finalName>httpasyncclient-scenario</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.6.0</version>
+                <configuration>
+                    <source>${compiler.version}</source>
+                    <target>${compiler.version}</target>
+                    <encoding>${project.build.sourceEncoding}</encoding>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>1.5.9.RELEASE</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>assemble</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                
<descriptor>src/main/assembly/assembly.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/src/main/assembly/assembly.xml 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/assembly/assembly.xml
new file mode 100644
index 0000000..59529c7
--- /dev/null
+++ 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/assembly/assembly.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+<assembly
+        
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+        
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
+    <formats>
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>./bin</directory>
+            <fileMode>0775</fileMode>
+        </fileSet>
+    </fileSets>
+
+    <files>
+        <file>
+            
<source>${project.build.directory}/httpasyncclient-scenario.jar</source>
+            <outputDirectory>./libs</outputDirectory>
+            <fileMode>0775</fileMode>
+        </file>
+    </files>
+</assembly>
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/BackController.java
 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/BackController.java
new file mode 100644
index 0000000..3182865
--- /dev/null
+++ 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/BackController.java
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.skywalking.testcase.httpasyncclient;
+
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/httpasyncclient")
+public class BackController {
+    @GetMapping("/back")
+    public String back() {
+        return "Hello back";
+    }
+}
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/FrontController.java
 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/FrontController.java
new file mode 100644
index 0000000..4ed5e48
--- /dev/null
+++ 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/FrontController.java
@@ -0,0 +1,106 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.skywalking.testcase.httpasyncclient;
+
+import java.io.IOException;
+import java.nio.CharBuffer;
+import org.apache.http.HttpResponse;
+import org.apache.http.client.methods.HttpGet;
+import org.apache.http.concurrent.FutureCallback;
+import org.apache.http.impl.nio.client.CloseableHttpAsyncClient;
+import org.apache.http.impl.nio.client.HttpAsyncClients;
+import org.apache.http.nio.IOControl;
+import org.apache.http.nio.client.methods.AsyncCharConsumer;
+import org.apache.http.nio.client.methods.HttpAsyncMethods;
+import org.apache.http.nio.protocol.HttpAsyncRequestProducer;
+import org.apache.http.protocol.HttpContext;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/httpasyncclient/case")
+public class FrontController {
+
+    private static Logger logger = LogManager.getLogger(FrontController.class);
+
+    @GetMapping("/healthcheck")
+    public String healthcheck() {
+        return "Success";
+    }
+
+    @GetMapping("/httpasyncclient")
+    public String front() throws Exception {
+        String content = 
asyncRequest3("http://127.0.0.1:8080/httpasyncclient/back";);
+        return content;
+    }
+
+    public static final String asyncRequest3(String url) throws IOException {
+
+        final CloseableHttpAsyncClient httpclient = 
HttpAsyncClients.createDefault();
+
+        httpclient.start();
+
+        final HttpGet request3 = new HttpGet(url);
+        HttpAsyncRequestProducer producer3 = HttpAsyncMethods.create(request3);
+        AsyncCharConsumer<HttpResponse> consumer3 = new 
AsyncCharConsumer<HttpResponse>() {
+            HttpResponse response;
+
+            @Override
+            protected void onResponseReceived(final HttpResponse response) {
+                this.response = response;
+            }
+
+            @Override
+            protected void onCharReceived(final CharBuffer buf, final 
IOControl ioctrl) throws IOException {
+            }
+
+            @Override
+            protected void releaseResources() {
+            }
+
+            @Override
+            protected HttpResponse buildResult(final HttpContext context) {
+                return this.response;
+            }
+        };
+
+        httpclient.execute(producer3, consumer3, new 
FutureCallback<HttpResponse>() {
+            public void completed(final HttpResponse response3) {
+                logger.info(request3.getRequestLine() + "->" + 
response3.getStatusLine());
+                try {
+                    httpclient.close();
+                } catch (IOException e) {
+                    logger.error("Httpclient  close failed" + e);
+                }
+            }
+
+            public void failed(final Exception ex) {
+                logger.error(request3.getRequestLine() + "->" + ex);
+            }
+
+            public void cancelled() {
+                logger.error(request3.getRequestLine() + " cancelled");
+            }
+
+        });
+        return "Success";
+    }
+}
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/HttpasyncclientApplication.java
 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/HttpasyncclientApplication.java
new file mode 100644
index 0000000..8d65eed
--- /dev/null
+++ 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/java/org/apache/skywalking/testcase/httpasyncclient/HttpasyncclientApplication.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.skywalking.testcase.httpasyncclient;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class HttpasyncclientApplication {
+
+    public static void main(String[] args) {
+
+        Object[] sources = new Object[] {HttpasyncclientApplication.class};
+        SpringApplication.run(sources, args);
+
+    }
+}
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/src/main/resource/application.yml
 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/resource/application.yml
new file mode 100644
index 0000000..187d66a
--- /dev/null
+++ 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/resource/application.yml
@@ -0,0 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+server:
+  port: 8080
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/src/main/resource/log4j2.xml 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/resource/log4j2.xml
new file mode 100644
index 0000000..985bd03
--- /dev/null
+++ 
b/test/plugin/scenarios/httpasyncclient-scenario/src/main/resource/log4j2.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  ~
+  -->
+
+<Configuration status="WARN">
+    <Appenders>
+        <Console name="Console" target="SYSTEM_ERR">
+            <PatternLayout charset="UTF-8" pattern="[%d{yyyy-MM-dd 
HH:mm:ss:SSS}] [%p] - %l - %m%n"/>
+        </Console>
+    </Appenders>
+    <Loggers>
+        <Root level="WARN">
+            <AppenderRef ref="Console"/>
+        </Root>
+    </Loggers>
+</Configuration>
\ No newline at end of file
diff --git 
a/test/plugin/scenarios/httpasyncclient-scenario/support-version.list 
b/test/plugin/scenarios/httpasyncclient-scenario/support-version.list
new file mode 100644
index 0000000..974d854
--- /dev/null
+++ b/test/plugin/scenarios/httpasyncclient-scenario/support-version.list
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+4.0
+4.0.1
+4.0.2
+4.1
+4.1.1
+4.1.2
+4.1.3

Reply via email to