Generated by TestNG with ReportNG at 21:09 PST on Tuesday 23 February 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.325s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.125s
2021-02-23 21:25:43 |

2021-02-23 21:25:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:43 | ------------------------------------

2021-02-23 21:25:43 | [Mutex] waiting for: [configured:node:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4]

2021-02-23 21:25:44 | [Mutex] received everything.

2021-02-23 21:25:44 | [Mutex] isItemNotified: configured:node:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4 :: true

2021-02-23 21:25:45 | [Mutex] waiting for: [received:nodes:ea14e141-c001-4009-bcbc-1f42b010eaeb:localhost]

2021-02-23 21:25:45 | [Mutex] received everything.

2021-02-23 21:25:45 | [Mutex] isItemNotified: received:node:ea14e141-c001-4009-bcbc-1f42b010eaeb:localhost:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:Node d1c4223a-28a6-49e2-8e61-e5d1654c6009 :: true

2021-02-23 21:25:45 | [Mutex] waiting for: [received:nodes:13659851-7f39-4182-9584-c2d99fa757d9:localhost]

2021-02-23 21:25:45 | [Mutex] received everything.

2021-02-23 21:25:45 | [Mutex] isItemNotified: received:node:13659851-7f39-4182-9584-c2d99fa757d9:localhost:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:Node d1c4223a-28a6-49e2-8e61-e5d1654c6009 :: false

createNodes 1.698s
2021-02-23 21:25:41 |

2021-02-23 21:25:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:41 | ------------------------------------

2021-02-23 21:25:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d1c4223a-28a6-49e2-8e61-e5d1654c6009</title></pubsub></data>

2021-02-23 21:25:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:25:42 | [Mutex] waiting for: [received:nodes:8e5b8e75-8b63-44d7-bd7a-35a5ad67e0cd:localhost]

2021-02-23 21:25:42 | [Mutex] received everything.

2021-02-23 21:25:42 | [Mutex] isItemNotified: received:node:8e5b8e75-8b63-44d7-bd7a-35a5ad67e0cd:localhost:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:Node d1c4223a-28a6-49e2-8e61-e5d1654c6009 :: true

createSubnodes 1.033s
2021-02-23 21:25:42 |

2021-02-23 21:25:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:42 | ------------------------------------

2021-02-23 21:25:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b04b6e63-0c7b-4293-8fe9-8e3037c34ca4</title></pubsub></data>

2021-02-23 21:25:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:25:43 | [Mutex] waiting for: [received:nodes:cd03b9b0-08ec-4e55-aa74-64515ab4f0bd:localhost]

2021-02-23 21:25:43 | [Mutex] received everything.

2021-02-23 21:25:43 | [Mutex] isItemNotified: received:node:cd03b9b0-08ec-4e55-aa74-64515ab4f0bd:localhost:node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4:Node b04b6e63-0c7b-4293-8fe9-8e3037c34ca4 :: true

deleteNodes 1.029s
2021-02-23 21:25:49 |

2021-02-23 21:25:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:49 | ------------------------------------

2021-02-23 21:25:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4</node></data>

2021-02-23 21:25:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:25:50 | [Mutex] waiting for: [received:nodes:92eb7df3-fc5d-4792-9be6-c1a65c03ce32:localhost]

2021-02-23 21:25:50 | [Mutex] received everything.

2021-02-23 21:25:50 | [Mutex] isItemNotified: received:node:92eb7df3-fc5d-4792-9be6-c1a65c03ce32:localhost:node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4:Node b04b6e63-0c7b-4293-8fe9-8e3037c34ca4 :: false

deleteSubnodes 1.168s
2021-02-23 21:25:48 |

2021-02-23 21:25:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:48 | ------------------------------------

2021-02-23 21:25:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node></data>

2021-02-23 21:25:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:25:49 | [Mutex] waiting for: [received:nodes:31ff3470-4bb2-4f74-8a34-3c813a9b7af1:localhost]

2021-02-23 21:25:49 | [Mutex] waiting for: [received:nodes:31ff3470-4bb2-4f74-8a34-3c813a9b7af1:localhost]

2021-02-23 21:25:49 | [Mutex] received everything.

2021-02-23 21:25:49 | [Mutex] isItemNotified: received:node:31ff3470-4bb2-4f74-8a34-3c813a9b7af1:localhost:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:Node d1c4223a-28a6-49e2-8e61-e5d1654c6009 :: false

2021-02-23 21:25:49 | [Mutex] waiting for: [received:nodes:91697db6-50e1-42e1-a7ae-956a48d76901:localhost]

2021-02-23 21:25:49 | [Mutex] received everything.

2021-02-23 21:25:49 | [Mutex] isItemNotified: received:node:91697db6-50e1-42e1-a7ae-956a48d76901:localhost:node-d1c4223a-28a6-49e2-8e61-e5d1654c6009:Node d1c4223a-28a6-49e2-8e61-e5d1654c6009 :: false

publishItemsToNodes 0.208s
2021-02-23 21:25:46 |

2021-02-23 21:25:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:46 | ------------------------------------

2021-02-23 21:25:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node><item-id>item-157c269f-119c-4cfa-b175-d186d1af7223</item-id><entry><test>item-157c269f-119c-4cfa-b175-d186d1af7223</test></entry></data>

2021-02-23 21:25:46 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-157c269f-119c-4cfa-b175-d186d1af7223</value></item-id></result>

2021-02-23 21:25:46 | [Mutex] received everything.

2021-02-23 21:25:46 | [Mutex] isItemNotified: published:item:notifieditem-157c269f-119c-4cfa-b175-d186d1af7223:admin@test-domain.com :: true

retractItemsFromNodes 0.184s
2021-02-23 21:25:46 |

2021-02-23 21:25:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:46 | ------------------------------------

2021-02-23 21:25:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node><item-id>item-157c269f-119c-4cfa-b175-d186d1af7223</item-id></data>

2021-02-23 21:25:47 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-157c269f-119c-4cfa-b175-d186d1af7223</value></item-id></result>

2021-02-23 21:25:47 | [Mutex] received everything.

2021-02-23 21:25:47 | [Mutex] isItemNotified: retracted:item:notifieditem-157c269f-119c-4cfa-b175-d186d1af7223:admin@test-domain.com :: true

retrieveItemsFromNodes 0.300s
2021-02-23 21:25:46 |

2021-02-23 21:25:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:46 | ------------------------------------

2021-02-23 21:25:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node><item-id>item-157c269f-119c-4cfa-b175-d186d1af7223</item-id></data>

2021-02-23 21:25:46 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</value></node><item-id label="Item ID" type="text-single"><value>item-157c269f-119c-4cfa-b175-d186d1af7223</value></item-id><item label="Item" type="text-multi"><value><item id="item-157c269f-119c-4cfa-b175-d186d1af7223"><test>item-157c269f-119c-4cfa-b175-d186d1af7223</test></item></value></item></result>

2021-02-23 21:25:46 | [Mutex] notify: [retrieved:item:item-157c269f-119c-4cfa-b175-d186d1af7223:payload-matches:true:localhost]

2021-02-23 21:25:46 | [Mutex] received everything.

2021-02-23 21:25:46 | [Mutex] isItemNotified: retrieved:item:item-157c269f-119c-4cfa-b175-d186d1af7223:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-02-23 21:25:46 |

2021-02-23 21:25:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:46 | ------------------------------------

2021-02-23 21:25:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-23 21:25:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-b04b6e63-0c7b-4293-8fe9-8e3037c34ca4</value><value>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-02-23 21:25:46 |

2021-02-23 21:25:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:46 | ------------------------------------

2021-02-23 21:25:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d1c4223a-28a6-49e2-8e61-e5d1654c6009)</node-pattern></data>

2021-02-23 21:25:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.163s
2021-02-23 21:25:45 |

2021-02-23 21:25:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:45 | ------------------------------------

2021-02-23 21:25:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-23 21:25:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.309s
2021-02-23 21:25:47 |

2021-02-23 21:25:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:25:47 | ------------------------------------

2021-02-23 21:25:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d1c4223a-28a6-49e2-8e61-e5d1654c6009</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-23 21:25:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>