Instrumenting PlayStation 4/5 apps¶
To instrument a PlayStation 4/5 app insert the Suitest instrumentation code into every HTML file belonging to your application.
At this point you should have a working PlayStation 4/5 in your Suitest account.
.pkgpackage file extension is supported.
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.
Please note that WebMAF application packages are supported on PlayStation 4/5 devices, while Media SDK applications are supported on PlayStation 5 devices only.
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.
Suitest launches an application with external parameters.
In the case your application calls
getExternalParameter command and uses data,
please make sure that Suitest parameters will not break your application.
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.