ESRI has made testing an ArcGIS REST Service somewhat easy. The REST services provide plenty of data in HTML format, as well as forms for testing input. But, there are some improvements that we can make. I’ve created a set of tools to work with ArcGIS Server. Testing ArcGIS REST Services just got easier through ESRI_REST_Diagnostics (github).
A year ago, I was on a small team working on a property search website. I worked on the front end, while my co-worker handled the database work. In the middle of the project, our client submitted a bug report stating that some of the search results weren’t showing. Both my colleague and I were sure that each of our process worked, but we needed a way to determine where the problem was. Since our website referred to ArcGIS Server for data and various configuration items, I needed a way to test the ArcGIS REST service endpoint. And that’s how my ESRI_REST_Diagnostic tools were born.
Installation is pretty easy. The hardest part may be getting your bookmarks to show on your browser window. Once you’ve mastered that, you can open the bookmarklet link page in your browser. From there, save the links as bookmarks, either by dragging them to your bookmark bar, or right clicking and adding them to your favorites.
Testing an ArcGIS REST Service
When you want to test ArcGIS REST Services, enter the url for the service in your browser. Some tools, like the Spatial Reference Comparison tool, work at the rest service folder level. Others, like the Layer Data Extraction tool, work at the map service level. Then, you have specialty tools for looking at individual fields within a map service layer, like the Query Field tester and the Query Helper.
In future blogs, I’ll review the individual tools and explain their uses. If you find these tools useful, let me know. And if you have any ideas on improvements, I’m open to those as well.