azagniotov / stubby4j

HTTP/1.1, HTTP/2 and WebSockets stub server for stubbing distributed web services in Docker and non-containerized environments for integration and contract testing
https://www.stubby4j.com
Apache License 2.0
358 stars 103 forks source link

for websocket on-message's client request from the text file new line (Enter) not accepted by using of stubby4j any solution or guideline to use new line in requested file, my requirement is, in requested text file must use multiline value #457

Closed kumarpramodlohar closed 10 months ago

kumarpramodlohar commented 1 year ago

Please provide some basic information about you environment

Is your question request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Provide details about your question A clear and concise description of what you want to happen.

Additional context Add any other context or screenshots about the question here.

github-actions[bot] commented 1 year ago

Thanks for opening your first issue. Pull requests are always welcome too! :)

azagniotov commented 1 year ago

Hi @kumarpramodlohar , it is hard to understand 100% what your problem is since you packed so much information into the issue subject field. Can you please describe in detail using a new comment what is your use-case and what you are trying to achieve. Thank you

kumarpramodlohar commented 1 year ago

Hi azagniotov, I have one of microservice for getting real time information, using spring boot, websocket, stomp, kafka for messages broker, scenario is I need to stubbed this service for the developer, they use this mocking service in his local, so I am facing below issues when I used this library. in yaml config file, on-message of client-request I need to pass multiline value ending with null characters, but some how in request file null character not accepted by stubby4j show me 404 error, how to handle this one by your stubby4j library. and one more issue is how to pass parameter value in uri properties like: ws://localhost:0.0.0.0/ws/test?auth=123

request should like below: image

azagniotov commented 1 year ago

@kumarpramodlohar thank you. Would you be able to provide an example of the YAML config you used for stubby4j? I will need it in order to try to reproduce the behavior you are seeing

kumarpramodlohar commented 1 year ago

yml&request.zip

Hi azagniotov, Thanks for your prompt reply, please find zip file for yml config and also sample of request file attached.

kumarpramodlohar commented 1 year ago

Hi Azagniotov, Any suggestion or solutions, please let me know, I am waiting for your response.

azagniotov commented 1 year ago

Hi Kumar,

I have not had a chance to deep dive into this just yet.

I appreciate your patience

On Oct 18, 2022, at 19:49, kumarpramodlohar @.***> wrote:

 Hi Azagniotov, Any suggestion or solutions, please let me know, I am waiting for your response.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution.

stale[bot] commented 10 months ago

This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of stubby4j or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request.