When using Java, REST-Assured is my first choice for API automation. In fact, it's the main tool I use for API testing. REST-Assured is a fluent Java library you can use to test HTTP-based REST services. It's designed with testing in mind, and it integrates with any existing Java-based automation framework. API Fortress is a continuous testing platform for APIs. Targets REST and SOAP APIs are considered as the most powerful monitoring tool for the two. Dec 11, 2020 A powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux. Almost everyone thinks this is a great alternative to Postman. Automate your workflow with the App Store Connect API. Customize and automate your workflows so you can focus on creating great apps. This standards-based REST API lets you automate tasks across developer tools, such as App Store Connect, Xcode, and Certificates, Identifiers & Profiles, to give you greater flexibility and increased efficiency in your workflows. VREST API testing tool provides an online solution for automated testing, mocking, automated recording and specification of REST/HTTP APIs/RESTful APIs. It provides an exhaustive tool to quickly validate your REST APIs This rest api test tool delivers zero defect web applications with less effort in API testing.
-->Summary
This article describes some useful tools for Microsoft Outlook for Mac.
More information
Outlook Search Repair
The Outlook Search Repair tool repairs search results within Outlook.
Important
Due to some changes in macOS Mojave, this tool no longer works in 10.14 and higher. If you are on macOS Mojave (10.14), you can follow the steps below to reindex Spotlight for Outlook for Mac.
Choose Apple menu, then System Preferences, and then Spotlight.
Select the Privacy tab.
In Finder:
On the Go menu, select Go to Folder..
Copy and paste the following location into the 'Go to the folder:' dialog box and select Go:
~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/
Drag the 'Main Profile' folder to the Privacy tab. Once added, remove the folder, and Spotlight will re-index the folder.
You must perform this step for any additional profile folders you have.
See the following article from Apple to learn more: How to rebuild the Spotlight index on your Mac.
When to use the tool
Use this tool if search results within Outlook show nothing or return older items only. For example, if you search for an email message that you already have open and that message isn't displayed in the search results.
How to use the tool
Download and open the Outlook Search Repair tool.
Follow the instructions.
Note The tool searches for duplicate installations of Outlook. If no duplicates are detected, go to step 3. If duplicates are detected, remove the duplicate Outlook installations, and then restart the system. After your system is restarted, the Outlook Search Repair tool may reopen. If it does reopen, exit and restart the tool.
Select Reindex.
Note The Outlook Search Repair tool displays a 'Reindexing, please wait' message while it works. Wait for this process to finish. This may require an hour or more, depending on the size of your Outlook profile. Outlook doesn't have to be open when the repair occurs. A spotlight search will be slower and may not finish while the index is being repaired.
Exit the Outlook Search Repair tool when you receive the following message after the repair is completed:
Done! Reindexing has completed!
OutlookResetPreferences
The Outlook Reset Preferences tool resets all Outlook preferences to their default settings.
When to use the tool
Use this tool to reset any customizations that you've made to Outlook by using the Preferences option on the Outlook menu. This tool also stores the settings for the Outlook window size and position. This tool shouldn't be needed most of the time. But it can be useful.
Note The Outlook Preferences file doesn't contain all the preferences for the application. Also, resetting Outlook preferences doesn't remove email messages or account settings.
How to use the tool
- Download and open the Outlook Reset Preferences tool.
- Click the Reset Now! button. This closes Outlook if it's open, and then resets the preferences to their default settings.
- Exit the Outlook Reset Preferences tool.
SetDefaultMailApp
The Default Mail Application tool lets you easily make Outlook the default mail application.
When to use the tool
Use this tool if you want Outlook to open a new email message when you click a mailto: link in an email message or on a website. Selecting a mailto: link opens the default email application. Outlook isn't the default email application until you change that setting.
How to use the tool
- Download and open the Default Mail Application tool.
- In the Default Mail Application dialog box, select com.microsoft.outlook, and then click Make Default.
- Exit the Default Mail Application tool.
ResetRecentAddresses
The Reset Recent Addresses tool lets you reset recent addresses that Outlook stores. This tool deletes all recent addresses instead of you having to manually delete addresses one at a time.
When to use the tool
When you compose an email message and add people on the To, Cc, or Bcc line, Outlook suggests names as you type characters. The list of names that Outlook uses is a combination of stored contacts, the company directory, and recent contacts. Recent contacts have an 'X' character next to each name. Without this tool, you have to click the 'X' on each contact to remove that contact from the Recent Address List. The Reset Recent Addresses tool cleans out all recent addresses at the same time.
How to use the tool
- Download and open the ResetRecentAddresses tool.
- Click the Reset Now! button.
- Exit the Reset Outlook Recent Addresses tool.
This section describes the first steps needed in order to use the API.If you are new to REST APIs please read the About REST section first.
REST-API client¶
The only tool needed in this section is a browser with a REST-API client add-on to access the API. This document doesn’t cover the API access through a programming language since everybody may have its favorite language.
There are various free clients available; please pick one for your favourite browser in the browser add-on section.
In the following steps Postman for Chrome from the Google Webstore will be used.For Firefox the REST Client is another popular client.
Find your gateway¶
As first step the gateway IP address and port must be found.
This could be achieved by doing a GET
request to https://phoscon.de/discover.
The response body shows that the gateway has the IP address 192.168.192.32 and the APIis reachable through port 8080.
Hint
If the above request doesn’t work, there are several other ways to find the gateway IP address as described in Discovery.
Acquire an API key¶
Any client that wants to access the API must provide a valid API key otherwise the access will fail.
To acquire an API key send a POST request to /api
as follows. Use the IP address and the port of your gateway that you got during discovery.
Important
The request must contain a JSON object with the required field devicetype.
In some Rest clients it is mandatory to put ‘http://’ in front of the IP address of the gateway.
… something went wrong!
The returned HTTP status is 403 Forbidden. The response body provides further information about the raised error in the JSON object.
Unlock the gateway¶
The reason why the request failed is that the gateway was not unlocked. This mechanism is needed to prevent anybody from access to the gateway without being permitted to do so.
As described in the section Authorization unlock the gateway as follows:
- In a new browser tab open the Phoscon App
- Click on Menu → Settings → Gateway
- Click on “Advanced” button
- Click on the “Authenticate app” button
See: Phoscon App — Advanced Gateway Settings
Now the gateway is unlocked for 60 seconds.
Second attempt¶
Within 60 seconds after unlocking the gateway, go back to the REST client and repeat the acquire API key request as before. (just click on Send again)
Based malware analysis environment, a roadmap will be built that will equip those already familiar with malware analysis to make the transition to the Mac OS X platform. Topics covered will include analysis of filesystem events, network traffic capture & analysis, live response tools. MacOS Malware Analysis Tools Static Analysis. JTool – A better variation of otool. What’s your Sign – Checks code-signing certification status. Dynamic Analysis. ProcessMonitor – Monitors processes activities. FileMonitor – Monitors file system events. Reverse Engineering.
This time the request succeded with HTTP status 200 OK.
In the response body the new API key is in the field username
. From now on this API key will be used in further API requests.
Get a list of all lights¶
With the API key from the last section it is now possible to access the full API.
To get a list of all available lights run a GET
request to /api/<apikey>/lights
as follows.
Rest Api Tool For Mac Installer
In the response 3 lights where returned. There are serval things to note here.
- The response contains not a list like
[ ]
of lights but a object{ }
with key/value pairs - Each light can be accessed by its id
'17'
- The light id is a key in the response object and the related value is a further object
Note
Ids are strings and even if they contain numbers never expect them to be “1”, “2”, “3”, … if the user removes light “2” the list will become “1”, “3”.
Get the details of a light¶
To get the detail of a light do a GET
request to /api/<apikey>/lights/<id>
as follows.
Turn light on/off¶
To turn a light on/off do a PUT
request to /api/<apikey>/lights/<id>/state
as follows.
In the request body set the on
value to true or false to turn the light on and off.
Rest Api Tool For Mac Download
Dim the light with transition time¶
Dimming is done the same way as sending on/off by using the bri
parameter; additionally specify a transition time in 1/10 seconds.
Rest Api Tool For Mac Os
The following example dims the light in 5 seconds down.
What’s next¶
To do some more advanced things with this API please refer to the API Endpoints documentation on the left side menu.