Hi @Hiroki.Ito
I had tried to import the API using the below payload, but it gives me an error:
error : Could not import Action Templates: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/json;charset=UTF-8
--------------------------------
Payload :
[
{
"actionPlanType": "httprequest",
"name": "Jitendra-http-request-test",
"oneRequestPerEvent": false,
"eventClampLimit": -1,
"defaultCustomProperties": [],
"method": "POST",
"scheme": "HTTPS",
"host": "webexapis.com",
"port": 0,
"path": "/v1/messages",
"query": "",
"urlCharset": "UTF_8",
"authType": "NONE",
"authUsername": null,
"authPassword": "",
"headers": [
{
"id": 0,
"version": 0,
"name": "Authorization",
"value": "Bearer OWIyNTUwMTAtOTNjZC00MjMzLWI4NzUtNWRlYTFlMGNhYjk3MmY4N2QwODUtN2Q4_PF84_1eb65fdf-9643-417f-9974-ad72cae0e10f"
},
{
"id": 0,
"version": 0,
"name": "content-type",
"value": "application/json"
}
],
"payloadTemplate": {
"httpRequestActionMediaType": "text/plain",
"charset": "UTF_8",
"formDataPairs": [],
"payload": "{\n\"roomId\":\"Y2lzY29zcGFyazovL3VzL1JPT00vNDNlNGNiNjAtMDJjNi0xMWViLWE2YjctYjFiNWIyOTRmZWJh\",\n\"markdown\":\"# EUM Page Alert: \\n\\n Policy: ${policy.name} \\n\\n Event Type: ${latestEvent.eventType} \\n\\n Event: ${latestEvent.healthRule.name} \\n\\n ${latestEvent.eventMessage} \\n\\n For more details, please visit: ${latestEvent.deepLink}\"\n}"
},
"connectTimeoutInMillis": 5000,
"socketTimeoutInMillis": 15000,
"maxFollowRedirects": 0,
"responseMatchCriteriaAnyTemplate": [],
"responseMatchCriteriaNoneTemplate": [],
"testLogLevel": "DEBUG",
"testPropertiesPairs": [],
"eventTypeCountPairs": []
}]
----------------------------------------------------------------------------------
... View more