Giter Club home page Giter Club logo

firecamp's Introduction

firecamp's People

Contributors

nishchit14 avatar shreya-gr 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  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  avatar

firecamp's Issues

A way to duplicate a tab with same listeners and events

Hello,
First thanks for Firecamp extension to test realtime application. It is really helpful. I am using the tool to test a chat room system, so I need at least two tabs open (for two clients), so when I added a new tab, I needed to add every listeners, and events that the first tab (client) had. It would be great if there is a way to do that without the need to rewrite everything again.

Firecamp font size

Nice software, but ... is it possible to implement font size change feature either in application or via configuration? Default font seems to be too small.

Exception "failed to map segment from shared object" when running AppImage on Linux Manjaro 18.1.5

  1. problem

When opening the app, I get the following exception, and the app never opens up so I can interact with it:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.SxerlG: failed to map segment from shared object
    at process.func (electron/js2c/asar.js:140:31)
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:735:32)
    at Module._load (internal/modules/cjs/loader.js:648:12)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)

I'm not completely sure if my platform is/should be supported, but since I'm trying to run an AppImage on a new and fully updated system, I don't see a reason why this should end up in an exception.

  1. how to reproduce

Set up the platform I have (see below) => chmod u+x Firecamp-0.9.2.AppImage => $ Firecamp-0.9.2.AppImage

  1. version
    0.9.2, AppImage downloaded from here: https://firecamp.ams3.digitaloceanspaces.com/versions/linux/Firecamp-0.9.2.AppImage

  2. platform
    Manjaro 18.1.5 with Xfce, x64, kernel 4.19.97-1

Timestamp Support

Please add timestamp for received message instead of elepsed time like "A few seconds ago" when we listen to event.

Feature request: Filter for SocktIO listeners

I've got a project, that emits me a several broadcasts with different payloads that looks something like that:

{
    "name": "my_frist_broadcast",
    "payload": {
        "some_usefull": "data"
    }
}


{
    "name": "my_second_broadcast",
    "payload": {
        "another_usefull": "data"
    }
}

It would be great if I could filter out messages from one listener by a payload that it consists of.
Thanks!

Scroll the page

In new versions it would be nice to see page scroll option available via keyboard (Home, End, PgUp, PgDn). Currently it's available using mouse only.

Socket.io "Add Request" shows white screen and socket disconnection

Hi, when trying to "add request" on the left hand side from any part of extension, the screen goes white and when inspecting the dev tools I see:

"[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312"

and

"fcapp.bundle.js:83 TypeError: Cannot read property 'type' of undefined
at new t (fcapp.bundle.js:218)
at lo (fcapp.bundle.js:83)"

Settings disappear after refreshing the page

I would like the app to keep open the tabs and the configuration within them after refreshing the page. It's somehow disappointing having to configure the tabs again if you accidentally close the page or just want to resume your work later.

One-lined JSON format

If server send JSON in one row, it's got displayed one-lined and it doesn't fit into the message bubble.
Screen Shot 2019-06-06 at 15 06 27

Encrypt Function

For my last work on Socket. Every data that communicate between Server and Client It has to be Encrypted with ECB Method so I have tried to use Firecamp for test my last project. And it's too difficult to test each emit, Because I have to encrypt my data before emit. So I think it'll be great to have an encrypt function to encrypt argument data before emit.

PS. Sorry for my bad English.

XML result not recognised as XML when pasting it at the input

  1. problem

When converting a valid JSON to XML, then copying the XML result and pasting it back at the input causes the XML to be unrecognised as XML input.

  1. steps to reproduce

Copy a valid JSON:

{
   "a": 5,
   "b": [
      1,
      2,
      3
   ],
   "C": "bla",
   "d": {
      "e": 1.25487
   }
}

=> convert it into XML, it will give you the following XML:

<a>5</a>
<b>1</b>
<b>2</b>
<b>3</b>
<C>bla</C>
<d>
    <e>1.25487</e>
</d>

=> copying and pasting the XML at the input => it's not recognised as XML:
image

  1. desired behaviour

It's possible to convert back and forth using just the JSON, XML, YAML utility within firecamp with no need to manually add/remove tags etc. In this case, the <root></root> tag might be missing, since converting the following XML

<root>
  <a>5</a>
  <b>1</b>
  <b>2</b>
  <b>3</b>
  <C>bla</C>
  <d>
    <e>1.25487</e>
  </d>
</root>

will yield the expected behaviour.

  1. version

Snap installed firecamp v.0.9.2

bug: wrong cursor location after entering an open bracket JSON

There appears to have a small bug. While putting in the argument for an emit (in socket io) after you place the opening blacket( { ) and then after you press enter, the closing bracket is entered.(which is fine) however the cursor location is completely wrong and navigating to correct anything is a nightmare!

[Socket.io] Shows only first argument of acknowledgements

socket.emit('some.event', { test: true }, (err: Error, data: any) => {
  if (err) { // null if no errors
    console.error('error', err);
  }

  console.log('data', data);
});

Снимок экрана 2020-01-21 в 14 15 27

We see only null, but there is data as second argument.

Looks like message shows only first argument of ack

Ping/Pong

Hi, I need a mechanism that continuously sends a "ping" via WS.

Thx

Pusher host cannot be changed

I would like to be able to change the pusher host before connecting, preferably with the default host as Pusher.
This would allow me to test a local implementation of the Pusher API such as Laravel Websockets.

Support for custom header on WebSocket

Hello,

I wanted to try firecamp but got stuck right at the start. I am developing a service that exposes a HTTP endpoint and after checking headers (Authorization in my case), upgrades the connection to a WebSocket. I couldn't find any way to do this with Firecamp right now.

Auto-connect Attempts

As far as I observed, the app tries to reconnect after the connection is closed by the server.
I have to force shutdown my server software very often, while testing it.
I would really appreciate auto-connect option to be an user input instead of a hardcoded thing :D

Sample JSON for default event data tab

There isn't have sample JSON for default event data tab. When I create a new tab. It displays sample JSON as shown in attached GIF. It is not a big issue. Just for improving UX more.
firecamp_1

Listener event-based filter

You might add a listener event-based filter. If the user wants to show a message from a particular event.
Example - User is testing chat application(socket.io server) using this tool. he adds two listeners. one for a new message and another for typing event. it is getting a message from both the listener. If a user wants to show messages from one event only.

JSON payload on chatboard differs from one sent to server (RAW vs JS Obj)

The chatboard displays the JSON payload as it was entered in the text box. However, the actual payload sent to the server is a JS object. This throws an unexpected token error server-side when the server expects a stringify-ed or raw JSON and parses it.

Expected Behavior

The payload should be sent as the sent as the user has written it. This allows the dev to test for multiple cases of incorrect payload requests. Any cleaning up or transformation in the middle removes the ability for the dev to respond to these issues.

Current Behavior

The payload (written as a JSON object) is transformed and sent to the server as a JavaScript object.
A JSON.parse() on the incoming payload will result in an error.

Possible Solution

Allow the user to chose between sending raw payload and transformed payload.

Steps to Reproduce

  1. Enter a JSON object in the text field. Eg: {"UserID": "TestUser"}
  2. console.log the raw payload server-side.
  3. The output is as follows: { UserID: 'TestUser' }
  4. The chatboard output however is of {"UserID": "TestUser"}

Feat: Alert for incorrect JSON

I spent 5 minutes clicking on 'Emit' button and there was nothing there, then I had to open up the console.log to see that there were a bunch of errors because in my JSON I accidentally put single quotes instead of double quotes.
Also, finding the github repo to report this was a little more difficult, since on the Chrome extension there is no direct link and had to essentially be a Google ninja to find it.

Sidenote: if I have some time after work today I can see about resolving that issue I reported if you are accepting contributions and PR

Is in a connecting state even after a failed handshake with the server.

When the tool fails to connect with the socket.io server because of some socket.io server issue. the tool is in a connecting state even after a failed handshake with the server. the tool should display the error message to the user after a failed handshake with the server. Currently, I can find error messages in the chrome developer console. basically, it should have a connection timeout mechanism.

Socket.io load testing

Hi, I need to emitting an event for many times(for example I need to send message for 10000 user )
in order to testing my node js server under heavy loading. what should i do?

Send null character to terminate stomp message

When sending websocket messages over stomp, you want to terminate them with a null character. Since it is a bit hard to type with a keyboard, maybe a button or special keyboard combination could set that it should be appended before sending.

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.