ArcGIS API for JavaScript: Test/Test_Publish (MapServer)

Built using the ArcGIS API for JavaScript