简体   繁体   中英

JMeter - Java.net.URISyntaxException: Illegal character in path at index

I'm testing an api in Jmeter

When passing the url in postman I get proper response在此处输入图像描述

But when use the same in Jmeter I get error在此处输入图像描述

The path I'm using:

在此处输入图像描述

Your request payload contains characters which are not allowed to be present in URL so you need to wrap what you put in "Path" section of the HTTP Request sampler into__urlencode() function

More information: Apache JMeter Functions - An Introduction

I also get the same problem by this notification "Gradle sync failed: Illegal character in path at index 22: C:/Users/Admin/Android Development/keystore/ (50 s 115 ms)"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM