-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π Your most needed features ?π‘ #1386
Comments
in leshan demo r/w/o at the object level (we only have it at instance level) |
Maybe some works around Interoperability tests.
There is some discussion about that at Wakaama repository : eclipse-wakaama/wakaama#617 Note that currently Wakaama seems not so active anymore... so maybe we should first identify against what we can do this interoperability tests... π |
By the past, I implemented a kind of "LWM2M client simulator" based on Leshan : https://github.com/sbernard31/benchmark-clients. I know that currently @jvermillard used it. But maybe it should be improved ? π€· |
I guess a common use case for LWM2M developer is to write tests. (either to tests client or server implementation) |
Maybe out of scope but for now we have not so much documentation. |
Would be cool to make it a first class module in the project with a server counter part so we can easily start and get baseline values quickly |
We have one more idea from @Warmek. For MQTT protocol we can find in Internet MQTT clients with graphical user interface such as mqtt-explorer maybe good idea would be to add GUI to leshan-client-demo ? (or create LwM2M client with GUI based on Leshan). |
Another idea: integrate a fuzz testing solution, like: https://google.github.io/oss-fuzz/ |
Maybe time to update and future proof. So fully supporting LwM2M 1.2 is an absolutely minimal expectation. |
We do have a need in the coming weeks/months around EST and the fact that long thread #1135 was stale made us sad when we decided to settle for LwM2M with Leshan! |
Maybe we can develop this tool in and implement as a plugin for Apache Jmeter ? |
I vaguely remember that @msangoi tried to implement a Jmeter plugin by the past but If I remember well he doesn't reuse Leshan but Californium directly. It exists a lwm2m-jmeter project and they did same choice. So not sure Leshan client is really adapted/ready to do that π€· but maybe this is related to #1386 (comment) |
If there is already exitst a plugin for JMeter then it doesn't make sense to create next one such project
When it comes to API based test tool are you thinking of something like this: |
Nope. response = clientTest.register(... .. )
assertThat(response).is... ... ;
response = clientTest.update(... ... )
assertThat(response).is... ... ;
coapResponse = clientTest.send(aMalformedCoapRequest) // to test server behavior
... ...
clientTest.onRequest(new ReadRequest()).return(new ReadResponse( ....)); I didn't think too much about it, so this is clearly not a specification but more example to try to share the idea. (Note that: I don't think reusing demo for real automatic test is a good idea, even if I know that some people do that) |
I'd love to see SNI support both in Server and in the Client. |
During performance test, we surely need something like access-log to easily figure out problems.
If I am able to provide a UplinkRequestReceiver of my own, access log can be easily implemented. |
@Nick-The-Uncharted maybe this could help : #696 If this doesn't help or you think we can do better (like making possible to create custom |
Thank you for reply, I think I can use a ip->request cache to calcuate the duration of request handling. |
@sbernard31 org.eclipse.californium.core.network.interceptors.MessageInterceptor#sendResponse don't have exchange as parameter, makes it really hard to find out the corresponding request. If we use a ip->request cache and want to filter some request out (eg. register update request), this becames impossible to log request time. |
@Nick-The-Uncharted like I said at #1386 (comment), please if you want to talk about a particular issue. Create a new one or use an already dedicated existing one. |
Hi all,
@JaroslawLegierski would like to propose some student projects based on Leshan which could be part of Msc / Eng thesis. π¨βπ
We would like to take this opportunity to try do something useful for Leshan and its community.
So we create this brainstorming discussion aiming to collect any ideas π‘ about feature/tools that are missing around Leshan :
Anything which could be directly included in Leshan or new project based on it.
Do not hesitate to share ideas even if you think this does not perfectly match for a student project. This is brainstorming ! π
And even if some ideas will not fit for student projects, it may be used to improve Leshan anyway.
The text was updated successfully, but these errors were encountered: