Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recorder doesn't record binary bodies correctly #1203

Closed
henri-tremblay opened this issue May 26, 2013 · 3 comments
Closed

Recorder doesn't record binary bodies correctly #1203

henri-tremblay opened this issue May 26, 2013 · 3 comments

Comments

@henri-tremblay
Copy link
Contributor

I'm using the Spring HttpInvoker which passes Java serialized classes in the body.

Two things happen:

    1. It never seems to reach the server
  • The recorded body file can't be replayed

I've got a demo project to demonstrate that
https://github.com/henri-tremblay/binaryapi

Use launch.bat in webapp to launch the webapp and launch.bat in client to launch the client. Modify the root-context.xml in the client to pass through the recorder.

One thing: It's only a recorder issue. If a record the body myself, Gatling will work correctly.

@ghost ghost assigned slandelle May 27, 2013
@slandelle
Copy link
Member

To be backported

@slandelle
Copy link
Member

Modify the root-context.xml in the client to pass through the recorder.

How'd you do that? I had to override SimpleHttpInvokerRequestExecutor to pass a Proxy to URL.openConnection.

@slandelle
Copy link
Member

Fixed, thanks for this neat issue reporting! I'd like to have more of those...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants