Generated by TestNG with ReportNG at 22:52 PDT on Thursday 18 August 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.571s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-08-18 23:14:33 |

2022-08-18 23:14:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:33 | ------------------------------------

2022-08-18 23:14:33 | [Mutex] waiting for: [configured:node:node-8b178139-2e45-4bae-acdd-e138a45d99b1:node-47e38d63-b90c-43ae-bfa1-045c6c81e401]

2022-08-18 23:14:33 | [Mutex] received everything.

2022-08-18 23:14:33 | [Mutex] isItemNotified: configured:node:node-8b178139-2e45-4bae-acdd-e138a45d99b1:node-47e38d63-b90c-43ae-bfa1-045c6c81e401 :: true

2022-08-18 23:14:34 | [Mutex] waiting for: [received:nodes:daf38fe9-99af-475f-ab60-e503a82d0418:localhost]

2022-08-18 23:14:34 | [Mutex] received everything.

2022-08-18 23:14:34 | [Mutex] isItemNotified: received:node:daf38fe9-99af-475f-ab60-e503a82d0418:localhost:node-8b178139-2e45-4bae-acdd-e138a45d99b1:Node 8b178139-2e45-4bae-acdd-e138a45d99b1 :: true

2022-08-18 23:14:34 | [Mutex] waiting for: [received:nodes:cdc7bad6-38f0-49b6-97aa-af70eb4b0680:localhost]

2022-08-18 23:14:34 | [Mutex] received everything.

2022-08-18 23:14:34 | [Mutex] isItemNotified: received:node:cdc7bad6-38f0-49b6-97aa-af70eb4b0680:localhost:node-8b178139-2e45-4bae-acdd-e138a45d99b1:Node 8b178139-2e45-4bae-acdd-e138a45d99b1 :: false

createNodes 1.512s
2022-08-18 23:14:31 |

2022-08-18 23:14:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:31 | ------------------------------------

2022-08-18 23:14:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8b178139-2e45-4bae-acdd-e138a45d99b1</title></pubsub></data>

2022-08-18 23:14:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:14:32 | [Mutex] waiting for: [received:nodes:cbac7cd1-5550-4533-8e89-b14a2996d6b1:localhost]

2022-08-18 23:14:32 | [Mutex] received everything.

2022-08-18 23:14:32 | [Mutex] isItemNotified: received:node:cbac7cd1-5550-4533-8e89-b14a2996d6b1:localhost:node-8b178139-2e45-4bae-acdd-e138a45d99b1:Node 8b178139-2e45-4bae-acdd-e138a45d99b1 :: true

createSubnodes 1.024s
2022-08-18 23:14:32 |

2022-08-18 23:14:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:32 | ------------------------------------

2022-08-18 23:14:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-47e38d63-b90c-43ae-bfa1-045c6c81e401</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 47e38d63-b90c-43ae-bfa1-045c6c81e401</title></pubsub></data>

2022-08-18 23:14:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:14:33 | [Mutex] waiting for: [received:nodes:9df6643c-c4aa-4fa1-b7ec-384e16b513a0:localhost]

2022-08-18 23:14:33 | [Mutex] received everything.

2022-08-18 23:14:33 | [Mutex] isItemNotified: received:node:9df6643c-c4aa-4fa1-b7ec-384e16b513a0:localhost:node-47e38d63-b90c-43ae-bfa1-045c6c81e401:Node 47e38d63-b90c-43ae-bfa1-045c6c81e401 :: true

deleteNodes 1.016s
2022-08-18 23:14:39 |

2022-08-18 23:14:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:39 | ------------------------------------

2022-08-18 23:14:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-47e38d63-b90c-43ae-bfa1-045c6c81e401</node></data>

2022-08-18 23:14:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:14:40 | [Mutex] waiting for: [received:nodes:5c2a90c4-33a4-43fe-8e51-3be3c0d8d8ce:localhost]

2022-08-18 23:14:40 | [Mutex] waiting for: [received:nodes:5c2a90c4-33a4-43fe-8e51-3be3c0d8d8ce:localhost]

2022-08-18 23:14:40 | [Mutex] waiting for: [received:nodes:5c2a90c4-33a4-43fe-8e51-3be3c0d8d8ce:localhost]

2022-08-18 23:14:40 | [Mutex] received everything.

2022-08-18 23:14:40 | [Mutex] isItemNotified: received:node:5c2a90c4-33a4-43fe-8e51-3be3c0d8d8ce:localhost:node-47e38d63-b90c-43ae-bfa1-045c6c81e401:Node 47e38d63-b90c-43ae-bfa1-045c6c81e401 :: false

deleteSubnodes 1.115s
2022-08-18 23:14:38 |

2022-08-18 23:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:38 | ------------------------------------

2022-08-18 23:14:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node></data>

2022-08-18 23:14:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-18 23:14:39 | [Mutex] waiting for: [received:nodes:9f47a474-290f-4182-8056-59dafc85605b:localhost]

2022-08-18 23:14:39 | [Mutex] waiting for: [received:nodes:9f47a474-290f-4182-8056-59dafc85605b:localhost]

2022-08-18 23:14:39 | [Mutex] waiting for: [received:nodes:9f47a474-290f-4182-8056-59dafc85605b:localhost]

2022-08-18 23:14:39 | [Mutex] received everything.

2022-08-18 23:14:39 | [Mutex] isItemNotified: received:node:9f47a474-290f-4182-8056-59dafc85605b:localhost:node-8b178139-2e45-4bae-acdd-e138a45d99b1:Node 8b178139-2e45-4bae-acdd-e138a45d99b1 :: false

2022-08-18 23:14:39 | [Mutex] waiting for: [received:nodes:6d5911eb-416e-4736-a707-88237ac08f88:localhost]

2022-08-18 23:14:39 | [Mutex] received everything.

2022-08-18 23:14:39 | [Mutex] isItemNotified: received:node:6d5911eb-416e-4736-a707-88237ac08f88:localhost:node-8b178139-2e45-4bae-acdd-e138a45d99b1:Node 8b178139-2e45-4bae-acdd-e138a45d99b1 :: false

publishItemsToNodes 0.242s
2022-08-18 23:14:36 |

2022-08-18 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:36 | ------------------------------------

2022-08-18 23:14:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node><item-id>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</item-id><entry><test>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</test></entry></data>

2022-08-18 23:14:36 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</value></item-id></result>

2022-08-18 23:14:36 | [Mutex] received everything.

2022-08-18 23:14:36 | [Mutex] isItemNotified: published:item:notifieditem-7219ec6c-a1c7-4d04-80a0-021dc9d09c49:admin@test-domain.com :: true

retractItemsFromNodes 0.236s
2022-08-18 23:14:36 |

2022-08-18 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:36 | ------------------------------------

2022-08-18 23:14:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node><item-id>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</item-id></data>

2022-08-18 23:14:36 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</value></item-id></result>

2022-08-18 23:14:36 | [Mutex] received everything.

2022-08-18 23:14:36 | [Mutex] isItemNotified: retracted:item:notifieditem-7219ec6c-a1c7-4d04-80a0-021dc9d09c49:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2022-08-18 23:14:36 |

2022-08-18 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:36 | ------------------------------------

2022-08-18 23:14:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node><item-id>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</item-id></data>

2022-08-18 23:14:36 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-8b178139-2e45-4bae-acdd-e138a45d99b1</value></node><item-id type="text-single" label="Item ID"><value>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</value></item-id><item type="text-multi" label="Item"><value><item id="item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49"><test>item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49</test></item></value></item></result>

2022-08-18 23:14:36 | [Mutex] notify: [retrieved:item:item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49:payload-matches:true:localhost]

2022-08-18 23:14:36 | [Mutex] received everything.

2022-08-18 23:14:36 | [Mutex] isItemNotified: retrieved:item:item-7219ec6c-a1c7-4d04-80a0-021dc9d09c49:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-18 23:14:36 |

2022-08-18 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:36 | ------------------------------------

2022-08-18 23:14:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-18 23:14:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-8b178139-2e45-4bae-acdd-e138a45d99b1</value><value>node-47e38d63-b90c-43ae-bfa1-045c6c81e401</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-08-18 23:14:36 |

2022-08-18 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:36 | ------------------------------------

2022-08-18 23:14:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8b178139-2e45-4bae-acdd-e138a45d99b1)</node-pattern></data>

2022-08-18 23:14:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.147s
2022-08-18 23:14:34 |

2022-08-18 23:14:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:34 | ------------------------------------

2022-08-18 23:14:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.112s
2022-08-18 23:14:36 |

2022-08-18 23:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-18 23:14:36 | ------------------------------------

2022-08-18 23:14:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8b178139-2e45-4bae-acdd-e138a45d99b1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-18 23:14:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>