Generated by TestNG with ReportNG at 21:19 PST on Monday 21 February 2022
root@f29ef40080b5 / 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.163s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-02-21 21:35:27 |

2022-02-21 21:35:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:27 | ------------------------------------

2022-02-21 21:35:27 | [Mutex] waiting for: [configured:node:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:node-a8cef514-4155-4f46-8144-2cd46b7aae17]

2022-02-21 21:35:27 | [Mutex] received everything.

2022-02-21 21:35:27 | [Mutex] isItemNotified: configured:node:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:node-a8cef514-4155-4f46-8144-2cd46b7aae17 :: true

2022-02-21 21:35:28 | [Mutex] waiting for: [received:nodes:a74ff091-6765-494d-943e-1b78722987f4:localhost]

2022-02-21 21:35:28 | [Mutex] received everything.

2022-02-21 21:35:28 | [Mutex] isItemNotified: received:node:a74ff091-6765-494d-943e-1b78722987f4:localhost:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:Node 2a7364fc-cd3f-42e8-aeba-9f442f69b615 :: true

2022-02-21 21:35:28 | [Mutex] waiting for: [received:nodes:e75e9d59-4631-47f0-8b20-08d64b4feef3:localhost]

2022-02-21 21:35:28 | [Mutex] received everything.

2022-02-21 21:35:28 | [Mutex] isItemNotified: received:node:e75e9d59-4631-47f0-8b20-08d64b4feef3:localhost:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:Node 2a7364fc-cd3f-42e8-aeba-9f442f69b615 :: false

createNodes 1.558s
2022-02-21 21:35:25 |

2022-02-21 21:35:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:25 | ------------------------------------

2022-02-21 21:35:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2a7364fc-cd3f-42e8-aeba-9f442f69b615</title></pubsub></data>

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

2022-02-21 21:35:26 | [Mutex] waiting for: [received:nodes:f5fa8aed-5cc3-4d38-bf02-66177ad1e17a:localhost]

2022-02-21 21:35:26 | [Mutex] received everything.

2022-02-21 21:35:26 | [Mutex] isItemNotified: received:node:f5fa8aed-5cc3-4d38-bf02-66177ad1e17a:localhost:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:Node 2a7364fc-cd3f-42e8-aeba-9f442f69b615 :: true

createSubnodes 1.024s
2022-02-21 21:35:26 |

2022-02-21 21:35:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:26 | ------------------------------------

2022-02-21 21:35:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a8cef514-4155-4f46-8144-2cd46b7aae17</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a8cef514-4155-4f46-8144-2cd46b7aae17</title></pubsub></data>

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

2022-02-21 21:35:27 | [Mutex] waiting for: [received:nodes:9187bc28-79ec-4469-8787-b54dad02f199:localhost]

2022-02-21 21:35:27 | [Mutex] received everything.

2022-02-21 21:35:27 | [Mutex] isItemNotified: received:node:9187bc28-79ec-4469-8787-b54dad02f199:localhost:node-a8cef514-4155-4f46-8144-2cd46b7aae17:Node a8cef514-4155-4f46-8144-2cd46b7aae17 :: true

deleteNodes 1.021s
2022-02-21 21:35:33 |

2022-02-21 21:35:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:33 | ------------------------------------

2022-02-21 21:35:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a8cef514-4155-4f46-8144-2cd46b7aae17</node></data>

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

2022-02-21 21:35:34 | [Mutex] waiting for: [received:nodes:88158cf9-3134-4cad-90a6-205c97def291:localhost]

2022-02-21 21:35:34 | [Mutex] received everything.

2022-02-21 21:35:34 | [Mutex] isItemNotified: received:node:88158cf9-3134-4cad-90a6-205c97def291:localhost:node-a8cef514-4155-4f46-8144-2cd46b7aae17:Node a8cef514-4155-4f46-8144-2cd46b7aae17 :: false

deleteSubnodes 1.135s
2022-02-21 21:35:32 |

2022-02-21 21:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:32 | ------------------------------------

2022-02-21 21:35:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node></data>

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

2022-02-21 21:35:33 | [Mutex] waiting for: [received:nodes:043ff445-d62e-4422-ab40-c001d382e1de:localhost]

2022-02-21 21:35:33 | [Mutex] received everything.

2022-02-21 21:35:33 | [Mutex] isItemNotified: received:node:043ff445-d62e-4422-ab40-c001d382e1de:localhost:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:Node 2a7364fc-cd3f-42e8-aeba-9f442f69b615 :: false

2022-02-21 21:35:33 | [Mutex] waiting for: [received:nodes:04a0bda3-cd91-4dd3-800a-e3840160d02f:localhost]

2022-02-21 21:35:33 | [Mutex] received everything.

2022-02-21 21:35:33 | [Mutex] isItemNotified: received:node:04a0bda3-cd91-4dd3-800a-e3840160d02f:localhost:node-2a7364fc-cd3f-42e8-aeba-9f442f69b615:Node 2a7364fc-cd3f-42e8-aeba-9f442f69b615 :: false

publishItemsToNodes 0.224s
2022-02-21 21:35:30 |

2022-02-21 21:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:30 | ------------------------------------

2022-02-21 21:35:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node><item-id>item-a38782cd-70bb-4517-a241-dadbed34dc8b</item-id><entry><test>item-a38782cd-70bb-4517-a241-dadbed34dc8b</test></entry></data>

2022-02-21 21:35:30 | 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-a38782cd-70bb-4517-a241-dadbed34dc8b</value></item-id></result>

2022-02-21 21:35:30 | [Mutex] received everything.

2022-02-21 21:35:30 | [Mutex] isItemNotified: published:item:notifieditem-a38782cd-70bb-4517-a241-dadbed34dc8b:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2022-02-21 21:35:30 |

2022-02-21 21:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:30 | ------------------------------------

2022-02-21 21:35:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node><item-id>item-a38782cd-70bb-4517-a241-dadbed34dc8b</item-id></data>

2022-02-21 21:35:31 | 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-a38782cd-70bb-4517-a241-dadbed34dc8b</value></item-id></result>

2022-02-21 21:35:31 | [Mutex] received everything.

2022-02-21 21:35:31 | [Mutex] isItemNotified: retracted:item:notifieditem-a38782cd-70bb-4517-a241-dadbed34dc8b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.398s
2022-02-21 21:35:30 |

2022-02-21 21:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:30 | ------------------------------------

2022-02-21 21:35:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node><item-id>item-a38782cd-70bb-4517-a241-dadbed34dc8b</item-id></data>

2022-02-21 21:35:30 | 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-2a7364fc-cd3f-42e8-aeba-9f442f69b615</value></node><item-id label="Item ID" type="text-single"><value>item-a38782cd-70bb-4517-a241-dadbed34dc8b</value></item-id><item label="Item" type="text-multi"><value><item id="item-a38782cd-70bb-4517-a241-dadbed34dc8b"><test>item-a38782cd-70bb-4517-a241-dadbed34dc8b</test></item></value></item></result>

2022-02-21 21:35:30 | [Mutex] notify: [retrieved:item:item-a38782cd-70bb-4517-a241-dadbed34dc8b:payload-matches:true:localhost]

2022-02-21 21:35:30 | [Mutex] received everything.

2022-02-21 21:35:30 | [Mutex] isItemNotified: retrieved:item:item-a38782cd-70bb-4517-a241-dadbed34dc8b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.057s
2022-02-21 21:35:30 |

2022-02-21 21:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:30 | ------------------------------------

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

2022-02-21 21:35:30 | 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-a8cef514-4155-4f46-8144-2cd46b7aae17</value><value>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-02-21 21:35:30 |

2022-02-21 21:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:30 | ------------------------------------

2022-02-21 21:35:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2a7364fc-cd3f-42e8-aeba-9f442f69b615)</node-pattern></data>

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

subscribeNodes 1.148s
2022-02-21 21:35:28 |

2022-02-21 21:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:28 | ------------------------------------

2022-02-21 21:35:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2022-02-21 21:35:31 |

2022-02-21 21:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 21:35:31 | ------------------------------------

2022-02-21 21:35:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2a7364fc-cd3f-42e8-aeba-9f442f69b615</node><jids><value>admin@test-domain.com</value></jids></data>

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