Generated by TestNG with ReportNG at 22:23 PDT on Thursday 29 April 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.048s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2021-04-29 22:37:43 |

2021-04-29 22:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:43 | ------------------------------------

2021-04-29 22:37:43 | [Mutex] waiting for: [configured:node:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:node-fc0ad053-f732-47d1-9633-9f812c346722]

2021-04-29 22:37:43 | [Mutex] received everything.

2021-04-29 22:37:43 | [Mutex] isItemNotified: configured:node:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:node-fc0ad053-f732-47d1-9633-9f812c346722 :: true

2021-04-29 22:37:44 | [Mutex] waiting for: [received:nodes:fc22728f-c21f-41ea-b8bc-b951859567e0:localhost]

2021-04-29 22:37:44 | [Mutex] received everything.

2021-04-29 22:37:44 | [Mutex] isItemNotified: received:node:fc22728f-c21f-41ea-b8bc-b951859567e0:localhost:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:Node d7a98ce8-340e-4e65-adc5-e97e62f4f0a0 :: true

2021-04-29 22:37:44 | [Mutex] waiting for: [received:nodes:19e2a4b7-2f6e-40a5-b9de-41b866bd5a58:localhost]

2021-04-29 22:37:44 | [Mutex] waiting for: [received:nodes:19e2a4b7-2f6e-40a5-b9de-41b866bd5a58:localhost]

2021-04-29 22:37:44 | [Mutex] received everything.

2021-04-29 22:37:44 | [Mutex] isItemNotified: received:node:19e2a4b7-2f6e-40a5-b9de-41b866bd5a58:localhost:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:Node d7a98ce8-340e-4e65-adc5-e97e62f4f0a0 :: false

createNodes 1.412s
2021-04-29 22:37:41 |

2021-04-29 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:41 | ------------------------------------

2021-04-29 22:37:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</title></pubsub></data>

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

2021-04-29 22:37:42 | [Mutex] waiting for: [received:nodes:701ebef0-7be7-48f2-be77-f6d99250e43b:localhost]

2021-04-29 22:37:42 | [Mutex] received everything.

2021-04-29 22:37:42 | [Mutex] isItemNotified: received:node:701ebef0-7be7-48f2-be77-f6d99250e43b:localhost:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:Node d7a98ce8-340e-4e65-adc5-e97e62f4f0a0 :: true

createSubnodes 1.027s
2021-04-29 22:37:42 |

2021-04-29 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:42 | ------------------------------------

2021-04-29 22:37:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fc0ad053-f732-47d1-9633-9f812c346722</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fc0ad053-f732-47d1-9633-9f812c346722</title></pubsub></data>

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

2021-04-29 22:37:43 | [Mutex] waiting for: [received:nodes:f65defbb-98c4-4a49-8e88-c9daa0beb564:localhost]

2021-04-29 22:37:43 | [Mutex] received everything.

2021-04-29 22:37:43 | [Mutex] isItemNotified: received:node:f65defbb-98c4-4a49-8e88-c9daa0beb564:localhost:node-fc0ad053-f732-47d1-9633-9f812c346722:Node fc0ad053-f732-47d1-9633-9f812c346722 :: true

deleteNodes 1.020s
2021-04-29 22:37:49 |

2021-04-29 22:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:49 | ------------------------------------

2021-04-29 22:37:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fc0ad053-f732-47d1-9633-9f812c346722</node></data>

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

2021-04-29 22:37:50 | [Mutex] waiting for: [received:nodes:859d6d2b-cc53-41c2-932b-978a841af1a4:localhost]

2021-04-29 22:37:50 | [Mutex] received everything.

2021-04-29 22:37:50 | [Mutex] isItemNotified: received:node:859d6d2b-cc53-41c2-932b-978a841af1a4:localhost:node-fc0ad053-f732-47d1-9633-9f812c346722:Node fc0ad053-f732-47d1-9633-9f812c346722 :: false

deleteSubnodes 1.159s
2021-04-29 22:37:48 |

2021-04-29 22:37:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:48 | ------------------------------------

2021-04-29 22:37:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node></data>

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

2021-04-29 22:37:49 | [Mutex] waiting for: [received:nodes:53e8a4a1-0616-4bc9-88a4-3e3d99544b98:localhost]

2021-04-29 22:37:49 | [Mutex] waiting for: [received:nodes:53e8a4a1-0616-4bc9-88a4-3e3d99544b98:localhost]

2021-04-29 22:37:49 | [Mutex] waiting for: [received:nodes:53e8a4a1-0616-4bc9-88a4-3e3d99544b98:localhost]

2021-04-29 22:37:49 | [Mutex] received everything.

2021-04-29 22:37:49 | [Mutex] isItemNotified: received:node:53e8a4a1-0616-4bc9-88a4-3e3d99544b98:localhost:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:Node d7a98ce8-340e-4e65-adc5-e97e62f4f0a0 :: false

2021-04-29 22:37:49 | [Mutex] waiting for: [received:nodes:0405c2fa-dcf7-4a61-ad01-57921409f5ef:localhost]

2021-04-29 22:37:49 | [Mutex] received everything.

2021-04-29 22:37:49 | [Mutex] isItemNotified: received:node:0405c2fa-dcf7-4a61-ad01-57921409f5ef:localhost:node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0:Node d7a98ce8-340e-4e65-adc5-e97e62f4f0a0 :: false

publishItemsToNodes 0.234s
2021-04-29 22:37:45 |

2021-04-29 22:37:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:45 | ------------------------------------

2021-04-29 22:37:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node><item-id>item-0781f125-639b-4653-b4e7-c5297e46ed91</item-id><entry><test>item-0781f125-639b-4653-b4e7-c5297e46ed91</test></entry></data>

2021-04-29 22:37: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-0781f125-639b-4653-b4e7-c5297e46ed91</value></item-id></result>

2021-04-29 22:37:46 | [Mutex] received everything.

2021-04-29 22:37:46 | [Mutex] isItemNotified: published:item:notifieditem-0781f125-639b-4653-b4e7-c5297e46ed91:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2021-04-29 22:37:46 |

2021-04-29 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:46 | ------------------------------------

2021-04-29 22:37:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node><item-id>item-0781f125-639b-4653-b4e7-c5297e46ed91</item-id></data>

2021-04-29 22:37: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-0781f125-639b-4653-b4e7-c5297e46ed91</value></item-id></result>

2021-04-29 22:37:47 | [Mutex] received everything.

2021-04-29 22:37:47 | [Mutex] isItemNotified: retracted:item:notifieditem-0781f125-639b-4653-b4e7-c5297e46ed91:admin@test-domain.com :: true

retrieveItemsFromNodes 0.392s
2021-04-29 22:37:46 |

2021-04-29 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:46 | ------------------------------------

2021-04-29 22:37:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node><item-id>item-0781f125-639b-4653-b4e7-c5297e46ed91</item-id></data>

2021-04-29 22:37: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-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</value></node><item-id label="Item ID" type="text-single"><value>item-0781f125-639b-4653-b4e7-c5297e46ed91</value></item-id><item label="Item" type="text-multi"><value><item id="item-0781f125-639b-4653-b4e7-c5297e46ed91"><test>item-0781f125-639b-4653-b4e7-c5297e46ed91</test></item></value></item></result>

2021-04-29 22:37:46 | [Mutex] notify: [retrieved:item:item-0781f125-639b-4653-b4e7-c5297e46ed91:payload-matches:true:localhost]

2021-04-29 22:37:46 | [Mutex] received everything.

2021-04-29 22:37:46 | [Mutex] isItemNotified: retrieved:item:item-0781f125-639b-4653-b4e7-c5297e46ed91:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.059s
2021-04-29 22:37:46 |

2021-04-29 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:46 | ------------------------------------

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

2021-04-29 22:37: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-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</value><value>node-fc0ad053-f732-47d1-9633-9f812c346722</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-04-29 22:37:46 |

2021-04-29 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:46 | ------------------------------------

2021-04-29 22:37: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-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0)</node-pattern></data>

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

subscribeNodes 1.171s
2021-04-29 22:37:44 |

2021-04-29 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:44 | ------------------------------------

2021-04-29 22:37:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.307s
2021-04-29 22:37:47 |

2021-04-29 22:37:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:47 | ------------------------------------

2021-04-29 22:37:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d7a98ce8-340e-4e65-adc5-e97e62f4f0a0</node><jids><value>admin@test-domain.com</value></jids></data>

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