• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 4997
57%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 04 Jun 2018 02:49PM UTC
Jobs 2
Files 94
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4997

push

travis-ci

buger
bug: EOF when performing response body transform

fixes: #1729

Description of bug:

1. Create an API with a mock XML response e.g. `/api-a/mock`.
2. Create an API which reverse proxies to `api-a` called `abi-b`.
3. perform a response body transform on `api-b/mock` endpoint. e.g.
convert to json.

Bug:

```
ERROR outbound-transform: Error unmarshalling XML:
xml.Decoder.Token() - XML syntax error on line 167: unexpected EOF
api_id=90a1e135513946cb437b5e5111422227 path=soap
server_name=https://tyk-gateway.dev:8080/api-a/
```

Fix: In the case that we are reading XML, we use `ioutil.ReadAll`
to read the response body, and pass that to `mxj.NewMapXml`.

Lint: cleaning up repetition of `logrus.Fields`

8538 of 14988 relevant lines covered (56.97%)

1.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4997.1 (LATEST_GO=true) 04 Jun 2018 02:49PM UTC 0
56.96
Travis Job 4997.1
2 4997.2 (LATEST_GO=true) 04 Jun 2018 02:50PM UTC 0
56.95
Travis Job 4997.2
Source Files on build 4997
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4997
  • 02d0d70a on github
  • Prev Build on release-2.6 (#4928)
  • Next Build on release-2.6 (#5364)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc