Help Center > > API Reference> Northbound Java SDK API Reference> SDK Initialization Configuration and Test> Methods of the BasicTest Class

Methods of the BasicTest Class

Updated at: Jun 25, 2019 GMT+08:00

The methods of the BasicTest class are used to test whether basic functions, such as certificate, login, and device registration, are normal. The method is as follows:

Method

Description

public static void beginBasicTest(String platformIp, String platformPort, String appId, String secret, SSLConfig sslConfig)

After setting the platform IP address, port number, application ID, secret, and commercial certificate (optional), you can use this method to test whether basic functions, such as certificate, login, and device registration, are normal. If any exception occurs, the cause and suggestion are displayed on the console.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel