Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 05 May 2021
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.288s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-05-05 22:31:08 |

2021-05-05 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:08 | ------------------------------------

2021-05-05 22:31:08 | [Mutex] waiting for: [configured:node:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:node-7c572f4e-7964-41ef-9819-aabbdc495530]

2021-05-05 22:31:08 | [Mutex] received everything.

2021-05-05 22:31:08 | [Mutex] isItemNotified: configured:node:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:node-7c572f4e-7964-41ef-9819-aabbdc495530 :: true

2021-05-05 22:31:09 | [Mutex] waiting for: [received:nodes:38b01f15-c2e4-4cd9-87c6-59d1c99a9a97:localhost]

2021-05-05 22:31:09 | [Mutex] received everything.

2021-05-05 22:31:09 | [Mutex] isItemNotified: received:node:38b01f15-c2e4-4cd9-87c6-59d1c99a9a97:localhost:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:Node 77efe72c-84f1-49ec-bb4a-623a5e93aac1 :: true

2021-05-05 22:31:09 | [Mutex] waiting for: [received:nodes:7abb8f13-38ca-4183-a162-141249af8300:localhost]

2021-05-05 22:31:09 | [Mutex] received everything.

2021-05-05 22:31:09 | [Mutex] isItemNotified: received:node:7abb8f13-38ca-4183-a162-141249af8300:localhost:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:Node 77efe72c-84f1-49ec-bb4a-623a5e93aac1 :: false

createNodes 1.645s
2021-05-05 22:31:05 |

2021-05-05 22:31:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:05 | ------------------------------------

2021-05-05 22:31:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 77efe72c-84f1-49ec-bb4a-623a5e93aac1</title></pubsub></data>

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

2021-05-05 22:31:07 | [Mutex] waiting for: [received:nodes:fe4aa6ed-cf26-48df-a1cf-07c12d9e4cc7:localhost]

2021-05-05 22:31:07 | [Mutex] received everything.

2021-05-05 22:31:07 | [Mutex] isItemNotified: received:node:fe4aa6ed-cf26-48df-a1cf-07c12d9e4cc7:localhost:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:Node 77efe72c-84f1-49ec-bb4a-623a5e93aac1 :: true

createSubnodes 1.029s
2021-05-05 22:31:07 |

2021-05-05 22:31:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:07 | ------------------------------------

2021-05-05 22:31:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7c572f4e-7964-41ef-9819-aabbdc495530</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7c572f4e-7964-41ef-9819-aabbdc495530</title></pubsub></data>

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

2021-05-05 22:31:08 | [Mutex] waiting for: [received:nodes:1babb44c-e736-4a10-91a8-58ec1768e9d4:localhost]

2021-05-05 22:31:08 | [Mutex] received everything.

2021-05-05 22:31:08 | [Mutex] isItemNotified: received:node:1babb44c-e736-4a10-91a8-58ec1768e9d4:localhost:node-7c572f4e-7964-41ef-9819-aabbdc495530:Node 7c572f4e-7964-41ef-9819-aabbdc495530 :: true

deleteNodes 1.020s
2021-05-05 22:31:14 |

2021-05-05 22:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:14 | ------------------------------------

2021-05-05 22:31:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7c572f4e-7964-41ef-9819-aabbdc495530</node></data>

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

2021-05-05 22:31:15 | [Mutex] waiting for: [received:nodes:10a63b46-f04d-4997-85f4-c02f1467deeb:localhost]

2021-05-05 22:31:15 | [Mutex] waiting for: [received:nodes:10a63b46-f04d-4997-85f4-c02f1467deeb:localhost]

2021-05-05 22:31:15 | [Mutex] received everything.

2021-05-05 22:31:15 | [Mutex] isItemNotified: received:node:10a63b46-f04d-4997-85f4-c02f1467deeb:localhost:node-7c572f4e-7964-41ef-9819-aabbdc495530:Node 7c572f4e-7964-41ef-9819-aabbdc495530 :: false

deleteSubnodes 1.146s
2021-05-05 22:31:12 |

2021-05-05 22:31:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:12 | ------------------------------------

2021-05-05 22:31:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node></data>

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

2021-05-05 22:31:14 | [Mutex] waiting for: [received:nodes:485ff3e5-cc37-421f-960e-91f186f57a47:localhost]

2021-05-05 22:31:14 | [Mutex] received everything.

2021-05-05 22:31:14 | [Mutex] isItemNotified: received:node:485ff3e5-cc37-421f-960e-91f186f57a47:localhost:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:Node 77efe72c-84f1-49ec-bb4a-623a5e93aac1 :: false

2021-05-05 22:31:14 | [Mutex] waiting for: [received:nodes:100571bf-19c9-4f1a-a7d9-7e54a77443af:localhost]

2021-05-05 22:31:14 | [Mutex] received everything.

2021-05-05 22:31:14 | [Mutex] isItemNotified: received:node:100571bf-19c9-4f1a-a7d9-7e54a77443af:localhost:node-77efe72c-84f1-49ec-bb4a-623a5e93aac1:Node 77efe72c-84f1-49ec-bb4a-623a5e93aac1 :: false

publishItemsToNodes 0.225s
2021-05-05 22:31:10 |

2021-05-05 22:31:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:10 | ------------------------------------

2021-05-05 22:31:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node><item-id>item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</item-id><entry><test>item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</test></entry></data>

2021-05-05 22:31:10 | 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-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</value></item-id></result>

2021-05-05 22:31:10 | [Mutex] waiting for: [published:item:notifieditem-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3:admin@test-domain.com]

2021-05-05 22:31:10 | [Mutex] received everything.

2021-05-05 22:31:10 | [Mutex] isItemNotified: published:item:notifieditem-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3:admin@test-domain.com :: true

retractItemsFromNodes 0.316s
2021-05-05 22:31:11 |

2021-05-05 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:11 | ------------------------------------

2021-05-05 22:31:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node><item-id>item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</item-id></data>

2021-05-05 22:31:11 | 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-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</value></item-id></result>

2021-05-05 22:31:11 | [Mutex] waiting for: [retracted:item:notifieditem-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3:admin@test-domain.com]

2021-05-05 22:31:11 | [Mutex] received everything.

2021-05-05 22:31:11 | [Mutex] isItemNotified: retracted:item:notifieditem-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.254s
2021-05-05 22:31:10 |

2021-05-05 22:31:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:10 | ------------------------------------

2021-05-05 22:31:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node><item-id>item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</item-id></data>

2021-05-05 22:31:11 | 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-77efe72c-84f1-49ec-bb4a-623a5e93aac1</value></node><item-id label="Item ID" type="text-single"><value>item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</value></item-id><item label="Item" type="text-multi"><value><item id="item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3"><test>item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3</test></item></value></item></result>

2021-05-05 22:31:11 | [Mutex] notify: [retrieved:item:item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3:payload-matches:true:localhost]

2021-05-05 22:31:11 | [Mutex] received everything.

2021-05-05 22:31:11 | [Mutex] isItemNotified: retrieved:item:item-e16b0f48-5ee4-4bee-b5f3-2f877b3017c3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-05-05 22:31:11 |

2021-05-05 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:11 | ------------------------------------

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

2021-05-05 22:31:11 | 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-77efe72c-84f1-49ec-bb4a-623a5e93aac1</value><value>node-7c572f4e-7964-41ef-9819-aabbdc495530</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-05-05 22:31:11 |

2021-05-05 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:11 | ------------------------------------

2021-05-05 22:31:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-77efe72c-84f1-49ec-bb4a-623a5e93aac1)</node-pattern></data>

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

subscribeNodes 1.156s
2021-05-05 22:31:09 |

2021-05-05 22:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:09 | ------------------------------------

2021-05-05 22:31:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.366s
2021-05-05 22:31:11 |

2021-05-05 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:31:11 | ------------------------------------

2021-05-05 22:31:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-77efe72c-84f1-49ec-bb4a-623a5e93aac1</node><jids><value>admin@test-domain.com</value></jids></data>

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