Generated by TestNG with ReportNG at 21:13 PST on Sunday 03 January 2021
root@43fec6d4badf / 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.339s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.142s
2021-01-03 21:30:33 |

2021-01-03 21:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:33 | ------------------------------------

2021-01-03 21:30:33 | [Mutex] waiting for: [configured:node:node-f56887e9-1519-4482-9082-d84d99199986:node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493]

2021-01-03 21:30:33 | [Mutex] received everything.

2021-01-03 21:30:33 | [Mutex] isItemNotified: configured:node:node-f56887e9-1519-4482-9082-d84d99199986:node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493 :: true

2021-01-03 21:30:34 | [Mutex] waiting for: [received:nodes:945dffe6-4ae9-4ee5-8876-f7558196351f:localhost]

2021-01-03 21:30:34 | [Mutex] received everything.

2021-01-03 21:30:34 | [Mutex] isItemNotified: received:node:945dffe6-4ae9-4ee5-8876-f7558196351f:localhost:node-f56887e9-1519-4482-9082-d84d99199986:Node f56887e9-1519-4482-9082-d84d99199986 :: true

2021-01-03 21:30:34 | [Mutex] waiting for: [received:nodes:1fa96ce2-2e52-40ce-93d2-c7846c1d787b:localhost]

2021-01-03 21:30:34 | [Mutex] received everything.

2021-01-03 21:30:34 | [Mutex] isItemNotified: received:node:1fa96ce2-2e52-40ce-93d2-c7846c1d787b:localhost:node-f56887e9-1519-4482-9082-d84d99199986:Node f56887e9-1519-4482-9082-d84d99199986 :: false

createNodes 1.550s
2021-01-03 21:30:30 |

2021-01-03 21:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:30 | ------------------------------------

2021-01-03 21:30:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f56887e9-1519-4482-9082-d84d99199986</title></pubsub></data>

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

2021-01-03 21:30:32 | [Mutex] waiting for: [received:nodes:7c7315f6-cab1-4e7a-bfb2-e16ad0d37bb3:localhost]

2021-01-03 21:30:32 | [Mutex] received everything.

2021-01-03 21:30:32 | [Mutex] isItemNotified: received:node:7c7315f6-cab1-4e7a-bfb2-e16ad0d37bb3:localhost:node-f56887e9-1519-4482-9082-d84d99199986:Node f56887e9-1519-4482-9082-d84d99199986 :: true

createSubnodes 1.032s
2021-01-03 21:30:32 |

2021-01-03 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:32 | ------------------------------------

2021-01-03 21:30:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8875aba7-b8bc-4dd4-acb7-34f5cf54f493</title></pubsub></data>

2021-01-03 21:30:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:30:33 | [Mutex] waiting for: [received:nodes:ee101351-49a9-4c6a-a769-08c40cfa4f46:localhost]

2021-01-03 21:30:33 | [Mutex] received everything.

2021-01-03 21:30:33 | [Mutex] isItemNotified: received:node:ee101351-49a9-4c6a-a769-08c40cfa4f46:localhost:node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493:Node 8875aba7-b8bc-4dd4-acb7-34f5cf54f493 :: true

deleteNodes 1.024s
2021-01-03 21:30:39 |

2021-01-03 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:39 | ------------------------------------

2021-01-03 21:30:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493</node></data>

2021-01-03 21:30:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:30:40 | [Mutex] waiting for: [received:nodes:108dc26b-a75f-4fd6-a016-43de37c6f345:localhost]

2021-01-03 21:30:40 | [Mutex] received everything.

2021-01-03 21:30:40 | [Mutex] isItemNotified: received:node:108dc26b-a75f-4fd6-a016-43de37c6f345:localhost:node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493:Node 8875aba7-b8bc-4dd4-acb7-34f5cf54f493 :: false

deleteSubnodes 1.141s
2021-01-03 21:30:37 |

2021-01-03 21:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:37 | ------------------------------------

2021-01-03 21:30:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node></data>

2021-01-03 21:30:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-03 21:30:39 | [Mutex] waiting for: [received:nodes:82f95a9f-9009-464e-95b2-9144722bcc58:localhost]

2021-01-03 21:30:39 | [Mutex] received everything.

2021-01-03 21:30:39 | [Mutex] isItemNotified: received:node:82f95a9f-9009-464e-95b2-9144722bcc58:localhost:node-f56887e9-1519-4482-9082-d84d99199986:Node f56887e9-1519-4482-9082-d84d99199986 :: false

2021-01-03 21:30:39 | [Mutex] waiting for: [received:nodes:8b7554fa-2c65-46b1-a648-d02430779ad5:localhost]

2021-01-03 21:30:39 | [Mutex] received everything.

2021-01-03 21:30:39 | [Mutex] isItemNotified: received:node:8b7554fa-2c65-46b1-a648-d02430779ad5:localhost:node-f56887e9-1519-4482-9082-d84d99199986:Node f56887e9-1519-4482-9082-d84d99199986 :: false

publishItemsToNodes 0.270s
2021-01-03 21:30:35 |

2021-01-03 21:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:35 | ------------------------------------

2021-01-03 21:30:35 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node><item-id>item-8dc96695-6669-4971-968a-954d7c0819fe</item-id><entry><test>item-8dc96695-6669-4971-968a-954d7c0819fe</test></entry></data>

2021-01-03 21:30:35 | 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-8dc96695-6669-4971-968a-954d7c0819fe</value></item-id></result>

2021-01-03 21:30:35 | [Mutex] received everything.

2021-01-03 21:30:35 | [Mutex] isItemNotified: published:item:notifieditem-8dc96695-6669-4971-968a-954d7c0819fe:admin@test-domain.com :: true

retractItemsFromNodes 0.257s
2021-01-03 21:30:36 |

2021-01-03 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:36 | ------------------------------------

2021-01-03 21:30:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node><item-id>item-8dc96695-6669-4971-968a-954d7c0819fe</item-id></data>

2021-01-03 21:30:36 | 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-8dc96695-6669-4971-968a-954d7c0819fe</value></item-id></result>

2021-01-03 21:30:36 | [Mutex] received everything.

2021-01-03 21:30:36 | [Mutex] isItemNotified: retracted:item:notifieditem-8dc96695-6669-4971-968a-954d7c0819fe:admin@test-domain.com :: true

retrieveItemsFromNodes 0.312s
2021-01-03 21:30:35 |

2021-01-03 21:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:35 | ------------------------------------

2021-01-03 21:30:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node><item-id>item-8dc96695-6669-4971-968a-954d7c0819fe</item-id></data>

2021-01-03 21:30:36 | 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-f56887e9-1519-4482-9082-d84d99199986</value></node><item-id label="Item ID" type="text-single"><value>item-8dc96695-6669-4971-968a-954d7c0819fe</value></item-id><item label="Item" type="text-multi"><value><item id="item-8dc96695-6669-4971-968a-954d7c0819fe"><test>item-8dc96695-6669-4971-968a-954d7c0819fe</test></item></value></item></result>

2021-01-03 21:30:36 | [Mutex] notify: [retrieved:item:item-8dc96695-6669-4971-968a-954d7c0819fe:payload-matches:true:localhost]

2021-01-03 21:30:36 | [Mutex] received everything.

2021-01-03 21:30:36 | [Mutex] isItemNotified: retrieved:item:item-8dc96695-6669-4971-968a-954d7c0819fe:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-03 21:30:36 |

2021-01-03 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:36 | ------------------------------------

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

2021-01-03 21:30:36 | 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-f56887e9-1519-4482-9082-d84d99199986</value><value>node-8875aba7-b8bc-4dd4-acb7-34f5cf54f493</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-01-03 21:30:36 |

2021-01-03 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:36 | ------------------------------------

2021-01-03 21:30: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-f56887e9-1519-4482-9082-d84d99199986)</node-pattern></data>

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

subscribeNodes 1.135s
2021-01-03 21:30:34 |

2021-01-03 21:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:34 | ------------------------------------

2021-01-03 21:30:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-03 21:30:34 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.323s
2021-01-03 21:30:36 |

2021-01-03 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-03 21:30:36 | ------------------------------------

2021-01-03 21:30:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f56887e9-1519-4482-9082-d84d99199986</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-03 21:30:36 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>