jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61839] Jmeter not taking REST API response of type hal+json, hypermedia data
Date Mon, 04 Dec 2017 20:31:54 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61839

--- Comment #9 from Antonio Gomes Rodrigues <ra0077@gmail.com> ---
Hi,

I have tested with example from https://spring.io/guides/gs/rest-hateoas/ and I
have no problem with Apache JMeter 3.3

The same witj latest nightly build

------Sampler result------
Thread Name: Thread Group 1-1
Sample Start: 2017-12-04 21:29:33 CET
Load time: 4
Connect Time: 1
Latency: 4
Size in bytes: 241
Sent bytes:206
Headers size in bytes: 132
Body size in bytes: 109
Sample Count: 1
Error Count: 0
Data type ("text"|"bin"|""): text
Response code: 200
Response message: 

Response headers:
HTTP/1.1 200 
Content-Type: application/hal+json;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 04 Dec 2017 20:29:33 GMT


HTTPSampleResult fields:
ContentType: application/hal+json;charset=UTF-8
DataEncoding: UTF-8

------Request------
GET http://localhost:8080/greeting

GET data:


[no cookies]

Request Headers:
Connection: keep-alive
Content-Type: application/hal+json;charset=UTF-8
Accept: application/hal+json
Host: localhost:8080
User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_144)


------Response data------
{
:   "content":"Hello, World!",
:   "_links":
:   {
:   :   "self":
:   :   {
:   :   :   "href":"http://localhost:8080/greeting?name=World"
:   :   }
:   }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message