Giter Club home page Giter Club logo

wiresham's People

Contributors

baraujo25 avatar dependabot[bot] avatar rabelenda avatar rabelenda-abstracta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wiresham's Issues

--read-buffer-size-bytes option seems not working

I exported json from Wireshark and try to get wiresharm running.
It always gives me the same error, doesn't matter what I put to -b or --read-buffer-size-bytes option.

c:\myfolder>java -jar wiresham-0.2.1-standalone.jar --read-buffer-size-bytes 4096 -p 2324 -w 0.0.0.0 wireshark_export.json
Exception in thread "main" java.lang.IllegalArgumentException: Read buffer size of 2048 bytes is not enough for receiving expected packet from client with

A way to verify if VirtualTcpService was called

Hi, thanks for a great library! I'm looking for a functionality, that will tell me if my VirtualTcpService instance has received any request. Preferably even a way to see what was called and how many times. Do you have an idea how to approach this task using WireSham?

Using wiresham to mock http request/response

Is it possible to use wiresham with curl or other http client to mock http traffic?

I captured some http requests and responces.

Started wiresham. the -vv option gives me some glimpse under the hood.

When I am sending a curl request identical to the captured, I can see in the log following output but curl just keep waiting:


19:44:08.464 [pool-2-thread-1] INFO us.abstracta.wiresham.ClientConnection - starting new flow ...
19:44:08.464 [pool-2-thread-1] DEBUG us.abstracta.wiresham.ClientPacketStep - Waiting for 474554202F72...2F2A0D0A0D0A
19:44:08.464 [pool-2-thread-1] TRACE us.abstracta.wiresham.ClientConnection - reading from socket
19:44:08.465 [pool-2-thread-1] TRACE us.abstracta.wiresham.ClientConnection - read from socket: 474554202F72...2A2F2A0D0A0D0A
19:44:08.465 [pool-2-thread-1] TRACE us.abstracta.wiresham.ClientPacketStep - Searching for 474554202F72...3A202A2F2A0D0A0D0A from 0
19:44:08.465 [pool-2-thread-1] TRACE us.abstracta.wiresham.ClientPacketStep - Start match at 0
19:44:08.465 [pool-2-thread-1] DEBUG us.abstracta.wiresham.ClientPacketStep - received expected 474554202F7...02A2F2A0D0A0D0A
19:44:08.465 [pool-2-thread-1] DEBUG us.abstracta.wiresham.ClientPacketStep - Waiting for 485454502F312E3120...3656432336631227D7D7D0D0A300D0A0D0A
19:44:08.465 [pool-2-thread-1] TRACE us.abstracta.wiresham.ClientConnection - reading from socket
<both curl and wiresham waits indefinately>

Effectively, the mock server read and identified an expected request, but then instead of serving this request response it is waiting for it: 'Waiting for...' is the hex sequence for the http response.

Dynamic content in flow definition

Hi,
I found your tool useful, but what is missing from my point of view is lack of possiblity to define dynamic content for req/resp.

E.g.
in our case per every connection established content and sequence should be the same with exception of value for id of content e.g. value of articleId field, value of contentId field etc

What I want to achieve is to test scenario with two connections running in parallel and talking in the same steps but with different values inside data.

Would it be possibe to add such feature?
Or maybe you could advice how such funcionality may be added?

Thanks,
Lukasz

Documentation on how to use wiresham with practical examples.

Hello. I'm wondering how to use WireSham to do TCP Mocking. Reading the documentation in GitHub, I realized that the tool does not have a graphical interface, but a framework written in java that should be low and executed, for example, using the Eclipse IDE. Is that right?
If so, do you have any documentation that you can provide with the step-by-step guide on how to use WireSham?
If yes, please send them to my email: [email protected].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.