Generated by TestNG with ReportNG at 22:01 PDT on Wednesday 21 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 : 9.937s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2021-04-21 22:15:52 |

2021-04-21 22:15:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:52 | ------------------------------------

2021-04-21 22:15:52 | [Mutex] waiting for: [configured:node:node-97f3b2ee-0436-4ead-acd4-964383f19a77:node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f]

2021-04-21 22:15:52 | [Mutex] received everything.

2021-04-21 22:15:52 | [Mutex] isItemNotified: configured:node:node-97f3b2ee-0436-4ead-acd4-964383f19a77:node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f :: true

2021-04-21 22:15:53 | [Mutex] waiting for: [received:nodes:2db84e0d-4d62-4f02-ae4a-50d329e5289d:localhost]

2021-04-21 22:15:53 | [Mutex] received everything.

2021-04-21 22:15:53 | [Mutex] isItemNotified: received:node:2db84e0d-4d62-4f02-ae4a-50d329e5289d:localhost:node-97f3b2ee-0436-4ead-acd4-964383f19a77:Node 97f3b2ee-0436-4ead-acd4-964383f19a77 :: true

2021-04-21 22:15:53 | [Mutex] waiting for: [received:nodes:3c3cc9de-46dc-4a1b-adfd-daeda0ea1bcb:localhost]

2021-04-21 22:15:53 | [Mutex] received everything.

2021-04-21 22:15:53 | [Mutex] isItemNotified: received:node:3c3cc9de-46dc-4a1b-adfd-daeda0ea1bcb:localhost:node-97f3b2ee-0436-4ead-acd4-964383f19a77:Node 97f3b2ee-0436-4ead-acd4-964383f19a77 :: false

createNodes 1.507s
2021-04-21 22:15:50 |

2021-04-21 22:15:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:50 | ------------------------------------

2021-04-21 22:15:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 97f3b2ee-0436-4ead-acd4-964383f19a77</title></pubsub></data>

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

2021-04-21 22:15:51 | [Mutex] waiting for: [received:nodes:ee6fa47f-7009-4df1-a62d-ed62dac54db2:localhost]

2021-04-21 22:15:51 | [Mutex] received everything.

2021-04-21 22:15:51 | [Mutex] isItemNotified: received:node:ee6fa47f-7009-4df1-a62d-ed62dac54db2:localhost:node-97f3b2ee-0436-4ead-acd4-964383f19a77:Node 97f3b2ee-0436-4ead-acd4-964383f19a77 :: true

createSubnodes 1.026s
2021-04-21 22:15:51 |

2021-04-21 22:15:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:51 | ------------------------------------

2021-04-21 22:15:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c3025bcf-32b7-4523-aefc-4fb0467a8f0f</title></pubsub></data>

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

2021-04-21 22:15:52 | [Mutex] waiting for: [received:nodes:b59e9db9-4f94-471f-9457-521563553b34:localhost]

2021-04-21 22:15:52 | [Mutex] received everything.

2021-04-21 22:15:52 | [Mutex] isItemNotified: received:node:b59e9db9-4f94-471f-9457-521563553b34:localhost:node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f:Node c3025bcf-32b7-4523-aefc-4fb0467a8f0f :: true

deleteNodes 1.018s
2021-04-21 22:15:58 |

2021-04-21 22:15:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:58 | ------------------------------------

2021-04-21 22:15:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f</node></data>

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

2021-04-21 22:15:59 | [Mutex] waiting for: [received:nodes:f9262221-119d-4d0e-a6ab-a8aee9886993:localhost]

2021-04-21 22:15:59 | [Mutex] received everything.

2021-04-21 22:15:59 | [Mutex] isItemNotified: received:node:f9262221-119d-4d0e-a6ab-a8aee9886993:localhost:node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f:Node c3025bcf-32b7-4523-aefc-4fb0467a8f0f :: false

deleteSubnodes 1.161s
2021-04-21 22:15:56 |

2021-04-21 22:15:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:56 | ------------------------------------

2021-04-21 22:15:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node></data>

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

2021-04-21 22:15:58 | [Mutex] waiting for: [received:nodes:2cd91c6b-dc94-401b-94b2-71fdeefed255:localhost]

2021-04-21 22:15:58 | [Mutex] waiting for: [received:nodes:2cd91c6b-dc94-401b-94b2-71fdeefed255:localhost]

2021-04-21 22:15:58 | [Mutex] waiting for: [received:nodes:2cd91c6b-dc94-401b-94b2-71fdeefed255:localhost]

2021-04-21 22:15:58 | [Mutex] waiting for: [received:nodes:2cd91c6b-dc94-401b-94b2-71fdeefed255:localhost]

2021-04-21 22:15:58 | [Mutex] received everything.

2021-04-21 22:15:58 | [Mutex] isItemNotified: received:node:2cd91c6b-dc94-401b-94b2-71fdeefed255:localhost:node-97f3b2ee-0436-4ead-acd4-964383f19a77:Node 97f3b2ee-0436-4ead-acd4-964383f19a77 :: false

2021-04-21 22:15:58 | [Mutex] waiting for: [received:nodes:6f643e80-b50a-4a9c-9d59-3e9d95431d7e:localhost]

2021-04-21 22:15:58 | [Mutex] received everything.

2021-04-21 22:15:58 | [Mutex] isItemNotified: received:node:6f643e80-b50a-4a9c-9d59-3e9d95431d7e:localhost:node-97f3b2ee-0436-4ead-acd4-964383f19a77:Node 97f3b2ee-0436-4ead-acd4-964383f19a77 :: false

publishItemsToNodes 0.204s
2021-04-21 22:15:54 |

2021-04-21 22:15:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:54 | ------------------------------------

2021-04-21 22:15:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node><item-id>item-100c1f83-1077-4bfb-b4aa-2638af7b77f1</item-id><entry><test>item-100c1f83-1077-4bfb-b4aa-2638af7b77f1</test></entry></data>

2021-04-21 22:15:55 | 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-100c1f83-1077-4bfb-b4aa-2638af7b77f1</value></item-id></result>

2021-04-21 22:15:55 | [Mutex] received everything.

2021-04-21 22:15:55 | [Mutex] isItemNotified: published:item:notifieditem-100c1f83-1077-4bfb-b4aa-2638af7b77f1:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2021-04-21 22:15:55 |

2021-04-21 22:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:55 | ------------------------------------

2021-04-21 22:15:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node><item-id>item-100c1f83-1077-4bfb-b4aa-2638af7b77f1</item-id></data>

2021-04-21 22:15:55 | 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-100c1f83-1077-4bfb-b4aa-2638af7b77f1</value></item-id></result>

2021-04-21 22:15:55 | [Mutex] received everything.

2021-04-21 22:15:55 | [Mutex] isItemNotified: retracted:item:notifieditem-100c1f83-1077-4bfb-b4aa-2638af7b77f1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.276s
2021-04-21 22:15:55 |

2021-04-21 22:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:55 | ------------------------------------

2021-04-21 22:15:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node><item-id>item-100c1f83-1077-4bfb-b4aa-2638af7b77f1</item-id></data>

2021-04-21 22:15:55 | 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-97f3b2ee-0436-4ead-acd4-964383f19a77</value></node><item-id label="Item ID" type="text-single"><value>item-100c1f83-1077-4bfb-b4aa-2638af7b77f1</value></item-id><item label="Item" type="text-multi"><value><item id="item-100c1f83-1077-4bfb-b4aa-2638af7b77f1"><test>item-100c1f83-1077-4bfb-b4aa-2638af7b77f1</test></item></value></item></result>

2021-04-21 22:15:55 | [Mutex] notify: [retrieved:item:item-100c1f83-1077-4bfb-b4aa-2638af7b77f1:payload-matches:true:localhost]

2021-04-21 22:15:55 | [Mutex] received everything.

2021-04-21 22:15:55 | [Mutex] isItemNotified: retrieved:item:item-100c1f83-1077-4bfb-b4aa-2638af7b77f1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-21 22:15:55 |

2021-04-21 22:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:55 | ------------------------------------

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

2021-04-21 22:15:55 | 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-97f3b2ee-0436-4ead-acd4-964383f19a77</value><value>node-c3025bcf-32b7-4523-aefc-4fb0467a8f0f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-04-21 22:15:55 |

2021-04-21 22:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:55 | ------------------------------------

2021-04-21 22:15:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-97f3b2ee-0436-4ead-acd4-964383f19a77)</node-pattern></data>

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

subscribeNodes 1.170s
2021-04-21 22:15:53 |

2021-04-21 22:15:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:53 | ------------------------------------

2021-04-21 22:15:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.243s
2021-04-21 22:15:55 |

2021-04-21 22:15:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:15:55 | ------------------------------------

2021-04-21 22:15:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-97f3b2ee-0436-4ead-acd4-964383f19a77</node><jids><value>admin@test-domain.com</value></jids></data>

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