Instrumenting PlayStation 4 apps (WebMAF)¶
To instrument a PlayStation 4 app insert the Suitest instrumentation code into every HTML file belonging to your application.
At this point you should have a working PlayStation 4 in your Suitest account.
Patch packages not supported
Suitest does not support patch packages. In order to test your application, you need to upload a fully standalone application package.
Inserting instrumentation code¶
Copy and paste the code snippet from the Suitest configuration page into
every HTML file of your application. For best results put it as the
first script element in your HTML file right after the opening
Instrumentation library in production
When inserting the instrumentation library you must make sure, that you don't accidentally release the app to production with Suitest code in it. Suitest code is intended for testing and could damage the user experience of your app's users.
Uploading package to Suitest¶
You can upload the package on the configuration page. Suitest will automatically install or update the package on the device as necessary when you try running the app on this device.
If you use Suitest Network API you can also send the package with an API request. Suitest will automatically install or update the package on the device as necessary when you try running the app on this device.
Setting up Suitestify¶
You can optionally set up Suitestify with any HTML based hosted application.