question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testing with Steve

See original GitHub issue

I am trying to use this project as a chargepoint simulator to make tests with a central system that is running with Steve, now that it supports OCPP 1.6 (https://github.com/RWTH-i5-IDSG/steve). But I haven’t succeded on receiving any message in the Steve central system, neither using SOAP nor JSON types.

I have created a very basic main app that simply starts a chargepoint:

FakeChargePoint chargePoint = new FakeChargePoint();
chargePoint.connect();
chargePoint.sendBootNotification("A", "B");
chargePoint.sendHeartbeatRequest();

And in the constructor of the FakeChargePoint class I have changed the url to the ones that are provided by steve once it is started:

switch (type) {
            case JSON:
                client = new JSONClient(core, "testdummy");
                url = "ws://192.168.1.7:9220/steve/websocket/CentralSystemService/testdummy";
                break;
            case SOAP:
                client = new SOAPClient("me", new URL("http://127.0.0.1:8889"), core);
                url = "http://192.168.1.7:9220/steve/services/CentralSystemService";
                break;
        }

This code compiles and executes without problems or error messages. However, the Steve central system does not seem to be receiving anything at all from the chargepoint.

What is missing?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
V2G-UKcommented, Apr 7, 2018

Not that I have anything to add re the “bug” at the moment, but SteVe does indeed look like an interesting project since apparently it supports OCPP 1.6J.

It was searching for an open source 1.6J “server” that led me here in the first place.

1reaction
victormunozcommented, Apr 11, 2018

Thank you very much @goekay I certainly did not get the point in your sentence about the websocket. Now everything makes sense and it is working like a charm. I am going to close this issue.

Regarding the exception with SOAP, I will investigate further before raising a new issue. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usability Test Demo by Steve Krug - YouTube
This video shows an example of a complete usability test. I created it originally for readers of Rocket Surgery Made Easy: The ...
Read more >
Usability Testing with Steve Krug - YouTube
Interested in usability testing, but don't know how to get started? Been told you need to spend thousands of dollars and interview dozens...
Read more >
Usability Testing: How to Do-It-Yourself with Steve Krug
Steve Krug explains why usability testing is so important and runs through some tips for improving your own usability tests.
Read more >
Downloads | Steve Krug
I've provided Word files in case you want to customize them for your own use. Usability test scripts. For a web site PDF...
Read more >
Usability Testing with Steve Krug - Digital.gov
Steve will start his presentation with a demo of a live usability test to show that anyone can do usability testing. Then he...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found