Testing with Steve
See original GitHub issueI 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:
- Created 5 years ago
- Comments:18 (11 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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!