Generated by TestNG with ReportNG at 21:45 PST on Tuesday 26 January 2021
root@87f6aca6b6f2 / 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.218s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-01-26 22:00:54 |

2021-01-26 22:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:54 | ------------------------------------

2021-01-26 22:00:54 | [Mutex] waiting for: [configured:node:node-0b120ba6-327a-403c-946b-b16e899d513d:node-5914c3f3-ef4b-4228-b710-f4793ff66b08]

2021-01-26 22:00:54 | [Mutex] received everything.

2021-01-26 22:00:54 | [Mutex] isItemNotified: configured:node:node-0b120ba6-327a-403c-946b-b16e899d513d:node-5914c3f3-ef4b-4228-b710-f4793ff66b08 :: true

2021-01-26 22:00:55 | [Mutex] waiting for: [received:nodes:6a8aceb7-7458-41a3-bc50-2b712e3b3c87:localhost]

2021-01-26 22:00:55 | [Mutex] received everything.

2021-01-26 22:00:55 | [Mutex] isItemNotified: received:node:6a8aceb7-7458-41a3-bc50-2b712e3b3c87:localhost:node-0b120ba6-327a-403c-946b-b16e899d513d:Node 0b120ba6-327a-403c-946b-b16e899d513d :: true

2021-01-26 22:00:55 | [Mutex] waiting for: [received:nodes:b955ca97-3b71-4229-9b25-6f4120125c54:localhost]

2021-01-26 22:00:55 | [Mutex] received everything.

2021-01-26 22:00:55 | [Mutex] isItemNotified: received:node:b955ca97-3b71-4229-9b25-6f4120125c54:localhost:node-0b120ba6-327a-403c-946b-b16e899d513d:Node 0b120ba6-327a-403c-946b-b16e899d513d :: false

createNodes 1.457s
2021-01-26 22:00:52 |

2021-01-26 22:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:52 | ------------------------------------

2021-01-26 22:00:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0b120ba6-327a-403c-946b-b16e899d513d</title></pubsub></data>

2021-01-26 22:00:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 22:00:53 | [Mutex] waiting for: [received:nodes:9d885989-6116-40c7-9b83-6842189a40de:localhost]

2021-01-26 22:00:53 | [Mutex] received everything.

2021-01-26 22:00:53 | [Mutex] isItemNotified: received:node:9d885989-6116-40c7-9b83-6842189a40de:localhost:node-0b120ba6-327a-403c-946b-b16e899d513d:Node 0b120ba6-327a-403c-946b-b16e899d513d :: true

createSubnodes 1.025s
2021-01-26 22:00:53 |

2021-01-26 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:53 | ------------------------------------

2021-01-26 22:00:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5914c3f3-ef4b-4228-b710-f4793ff66b08</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5914c3f3-ef4b-4228-b710-f4793ff66b08</title></pubsub></data>

2021-01-26 22:00:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 22:00:54 | [Mutex] waiting for: [received:nodes:31654529-829b-4364-b71d-8586e7aa7819:localhost]

2021-01-26 22:00:54 | [Mutex] received everything.

2021-01-26 22:00:54 | [Mutex] isItemNotified: received:node:31654529-829b-4364-b71d-8586e7aa7819:localhost:node-5914c3f3-ef4b-4228-b710-f4793ff66b08:Node 5914c3f3-ef4b-4228-b710-f4793ff66b08 :: true

deleteNodes 1.023s
2021-01-26 22:01:00 |

2021-01-26 22:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:00 | ------------------------------------

2021-01-26 22:01:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5914c3f3-ef4b-4228-b710-f4793ff66b08</node></data>

2021-01-26 22:01:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 22:01:01 | [Mutex] waiting for: [received:nodes:644a89b5-b122-4b91-9257-f5c8cbdd7dcd:localhost]

2021-01-26 22:01:01 | [Mutex] received everything.

2021-01-26 22:01:01 | [Mutex] isItemNotified: received:node:644a89b5-b122-4b91-9257-f5c8cbdd7dcd:localhost:node-5914c3f3-ef4b-4228-b710-f4793ff66b08:Node 5914c3f3-ef4b-4228-b710-f4793ff66b08 :: false

deleteSubnodes 1.147s
2021-01-26 22:00:59 |

2021-01-26 22:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:59 | ------------------------------------

2021-01-26 22:00:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node></data>

2021-01-26 22:00:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 22:01:00 | [Mutex] waiting for: [received:nodes:738b06f2-e195-46c2-9188-d341e16f79b4:localhost]

2021-01-26 22:01:00 | [Mutex] waiting for: [received:nodes:738b06f2-e195-46c2-9188-d341e16f79b4:localhost]

2021-01-26 22:01:00 | [Mutex] received everything.

2021-01-26 22:01:00 | [Mutex] isItemNotified: received:node:738b06f2-e195-46c2-9188-d341e16f79b4:localhost:node-0b120ba6-327a-403c-946b-b16e899d513d:Node 0b120ba6-327a-403c-946b-b16e899d513d :: false

2021-01-26 22:01:00 | [Mutex] waiting for: [received:nodes:6422cf52-b4e0-45ab-b132-016756e0a21f:localhost]

2021-01-26 22:01:00 | [Mutex] received everything.

2021-01-26 22:01:00 | [Mutex] isItemNotified: received:node:6422cf52-b4e0-45ab-b132-016756e0a21f:localhost:node-0b120ba6-327a-403c-946b-b16e899d513d:Node 0b120ba6-327a-403c-946b-b16e899d513d :: false

publishItemsToNodes 0.290s
2021-01-26 22:00:56 |

2021-01-26 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:56 | ------------------------------------

2021-01-26 22:00:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node><item-id>item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</item-id><entry><test>item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</test></entry></data>

2021-01-26 22:00:57 | 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-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</value></item-id></result>

2021-01-26 22:00:57 | [Mutex] waiting for: [published:item:notifieditem-9ccc0ec5-75c0-4376-99aa-aa39d9c79397:admin@test-domain.com]

2021-01-26 22:00:57 | [Mutex] received everything.

2021-01-26 22:00:57 | [Mutex] isItemNotified: published:item:notifieditem-9ccc0ec5-75c0-4376-99aa-aa39d9c79397:admin@test-domain.com :: true

retractItemsFromNodes 0.307s
2021-01-26 22:00:57 |

2021-01-26 22:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:57 | ------------------------------------

2021-01-26 22:00:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node><item-id>item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</item-id></data>

2021-01-26 22:00:57 | 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-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</value></item-id></result>

2021-01-26 22:00:57 | [Mutex] waiting for: [retracted:item:notifieditem-9ccc0ec5-75c0-4376-99aa-aa39d9c79397:admin@test-domain.com]

2021-01-26 22:00:57 | [Mutex] received everything.

2021-01-26 22:00:57 | [Mutex] isItemNotified: retracted:item:notifieditem-9ccc0ec5-75c0-4376-99aa-aa39d9c79397:admin@test-domain.com :: true

retrieveItemsFromNodes 0.285s
2021-01-26 22:00:57 |

2021-01-26 22:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:57 | ------------------------------------

2021-01-26 22:00:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node><item-id>item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</item-id></data>

2021-01-26 22:00:57 | 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-0b120ba6-327a-403c-946b-b16e899d513d</value></node><item-id label="Item ID" type="text-single"><value>item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</value></item-id><item label="Item" type="text-multi"><value><item id="item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397"><test>item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397</test></item></value></item></result>

2021-01-26 22:00:57 | [Mutex] notify: [retrieved:item:item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397:payload-matches:true:localhost]

2021-01-26 22:00:57 | [Mutex] received everything.

2021-01-26 22:00:57 | [Mutex] isItemNotified: retrieved:item:item-9ccc0ec5-75c0-4376-99aa-aa39d9c79397:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-01-26 22:00:57 |

2021-01-26 22:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:57 | ------------------------------------

2021-01-26 22:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-26 22:00:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0b120ba6-327a-403c-946b-b16e899d513d</value><value>test</value><value>node-5914c3f3-ef4b-4228-b710-f4793ff66b08</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-26 22:00:57 |

2021-01-26 22:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:57 | ------------------------------------

2021-01-26 22:00:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0b120ba6-327a-403c-946b-b16e899d513d)</node-pattern></data>

2021-01-26 22:00:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.128s
2021-01-26 22:00:55 |

2021-01-26 22:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:55 | ------------------------------------

2021-01-26 22:00:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-26 22:00:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.387s
2021-01-26 22:00:57 |

2021-01-26 22:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:00:57 | ------------------------------------

2021-01-26 22:00:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0b120ba6-327a-403c-946b-b16e899d513d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-26 22:00:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>