Generated by TestNG with ReportNG at 21:28 PST on Sunday 05 December 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.732s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2021-12-05 21:44:08 |

2021-12-05 21:44:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:08 | ------------------------------------

2021-12-05 21:44:08 | [Mutex] waiting for: [configured:node:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:node-96eaa49e-7271-40e5-80b3-9638de61fea6]

2021-12-05 21:44:08 | [Mutex] received everything.

2021-12-05 21:44:08 | [Mutex] isItemNotified: configured:node:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:node-96eaa49e-7271-40e5-80b3-9638de61fea6 :: true

2021-12-05 21:44:09 | [Mutex] waiting for: [received:nodes:1eef0138-fe04-4442-9ad6-1b411f6759a1:localhost]

2021-12-05 21:44:09 | [Mutex] received everything.

2021-12-05 21:44:09 | [Mutex] isItemNotified: received:node:1eef0138-fe04-4442-9ad6-1b411f6759a1:localhost:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:Node 9596d6b9-cf45-4885-8041-fb3fea4ebe4b :: true

2021-12-05 21:44:09 | [Mutex] waiting for: [received:nodes:094b74b6-65a6-4f1e-97a2-8637d0db744e:localhost]

2021-12-05 21:44:09 | [Mutex] waiting for: [received:nodes:094b74b6-65a6-4f1e-97a2-8637d0db744e:localhost]

2021-12-05 21:44:09 | [Mutex] received everything.

2021-12-05 21:44:09 | [Mutex] isItemNotified: received:node:094b74b6-65a6-4f1e-97a2-8637d0db744e:localhost:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:Node 9596d6b9-cf45-4885-8041-fb3fea4ebe4b :: false

createNodes 1.553s
2021-12-05 21:44:05 |

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

2021-12-05 21:44:05 | ------------------------------------

2021-12-05 21:44:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9596d6b9-cf45-4885-8041-fb3fea4ebe4b</title></pubsub></data>

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

2021-12-05 21:44:07 | [Mutex] waiting for: [received:nodes:f099ae8b-ebd5-4bde-8e0f-fef7ff55d069:localhost]

2021-12-05 21:44:07 | [Mutex] received everything.

2021-12-05 21:44:07 | [Mutex] isItemNotified: received:node:f099ae8b-ebd5-4bde-8e0f-fef7ff55d069:localhost:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:Node 9596d6b9-cf45-4885-8041-fb3fea4ebe4b :: true

createSubnodes 1.027s
2021-12-05 21:44:07 |

2021-12-05 21:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:07 | ------------------------------------

2021-12-05 21:44:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-96eaa49e-7271-40e5-80b3-9638de61fea6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 96eaa49e-7271-40e5-80b3-9638de61fea6</title></pubsub></data>

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

2021-12-05 21:44:08 | [Mutex] waiting for: [received:nodes:14a2e61a-2f1c-4a10-8817-9954743421a3:localhost]

2021-12-05 21:44:08 | [Mutex] received everything.

2021-12-05 21:44:08 | [Mutex] isItemNotified: received:node:14a2e61a-2f1c-4a10-8817-9954743421a3:localhost:node-96eaa49e-7271-40e5-80b3-9638de61fea6:Node 96eaa49e-7271-40e5-80b3-9638de61fea6 :: true

deleteNodes 1.020s
2021-12-05 21:44:14 |

2021-12-05 21:44:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:14 | ------------------------------------

2021-12-05 21:44:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-96eaa49e-7271-40e5-80b3-9638de61fea6</node></data>

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

2021-12-05 21:44:15 | [Mutex] waiting for: [received:nodes:72721437-990b-4b32-acc5-3f803f6ed6b0:localhost]

2021-12-05 21:44:15 | [Mutex] received everything.

2021-12-05 21:44:15 | [Mutex] isItemNotified: received:node:72721437-990b-4b32-acc5-3f803f6ed6b0:localhost:node-96eaa49e-7271-40e5-80b3-9638de61fea6:Node 96eaa49e-7271-40e5-80b3-9638de61fea6 :: false

deleteSubnodes 1.132s
2021-12-05 21:44:13 |

2021-12-05 21:44:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:13 | ------------------------------------

2021-12-05 21:44:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node></data>

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

2021-12-05 21:44:14 | [Mutex] waiting for: [received:nodes:cc00b8cb-22a6-4dab-a2e3-179a0d9ef001:localhost]

2021-12-05 21:44:14 | [Mutex] received everything.

2021-12-05 21:44:14 | [Mutex] isItemNotified: received:node:cc00b8cb-22a6-4dab-a2e3-179a0d9ef001:localhost:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:Node 9596d6b9-cf45-4885-8041-fb3fea4ebe4b :: false

2021-12-05 21:44:14 | [Mutex] waiting for: [received:nodes:691057e3-2c34-465d-a6f1-ddd578af7d1c:localhost]

2021-12-05 21:44:14 | [Mutex] received everything.

2021-12-05 21:44:14 | [Mutex] isItemNotified: received:node:691057e3-2c34-465d-a6f1-ddd578af7d1c:localhost:node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b:Node 9596d6b9-cf45-4885-8041-fb3fea4ebe4b :: false

publishItemsToNodes 0.203s
2021-12-05 21:44:10 |

2021-12-05 21:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:10 | ------------------------------------

2021-12-05 21:44:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node><item-id>item-a11b8595-52ff-480d-bc4c-0924d31da343</item-id><entry><test>item-a11b8595-52ff-480d-bc4c-0924d31da343</test></entry></data>

2021-12-05 21:44: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-a11b8595-52ff-480d-bc4c-0924d31da343</value></item-id></result>

2021-12-05 21:44:10 | [Mutex] waiting for: [published:item:notifieditem-a11b8595-52ff-480d-bc4c-0924d31da343:admin@test-domain.com]

2021-12-05 21:44:10 | [Mutex] received everything.

2021-12-05 21:44:10 | [Mutex] isItemNotified: published:item:notifieditem-a11b8595-52ff-480d-bc4c-0924d31da343:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2021-12-05 21:44:11 |

2021-12-05 21:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:11 | ------------------------------------

2021-12-05 21:44:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node><item-id>item-a11b8595-52ff-480d-bc4c-0924d31da343</item-id></data>

2021-12-05 21:44: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-a11b8595-52ff-480d-bc4c-0924d31da343</value></item-id></result>

2021-12-05 21:44:11 | [Mutex] received everything.

2021-12-05 21:44:11 | [Mutex] isItemNotified: retracted:item:notifieditem-a11b8595-52ff-480d-bc4c-0924d31da343:admin@test-domain.com :: true

retrieveItemsFromNodes 0.394s
2021-12-05 21:44:10 |

2021-12-05 21:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:10 | ------------------------------------

2021-12-05 21:44:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node><item-id>item-a11b8595-52ff-480d-bc4c-0924d31da343</item-id></data>

2021-12-05 21:44: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-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</value></node><item-id label="Item ID" type="text-single"><value>item-a11b8595-52ff-480d-bc4c-0924d31da343</value></item-id><item label="Item" type="text-multi"><value><item id="item-a11b8595-52ff-480d-bc4c-0924d31da343"><test>item-a11b8595-52ff-480d-bc4c-0924d31da343</test></item></value></item></result>

2021-12-05 21:44:11 | [Mutex] notify: [retrieved:item:item-a11b8595-52ff-480d-bc4c-0924d31da343:payload-matches:true:localhost]

2021-12-05 21:44:11 | [Mutex] received everything.

2021-12-05 21:44:11 | [Mutex] isItemNotified: retrieved:item:item-a11b8595-52ff-480d-bc4c-0924d31da343:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-12-05 21:44:11 |

2021-12-05 21:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:11 | ------------------------------------

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

2021-12-05 21:44: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-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</value><value>node-96eaa49e-7271-40e5-80b3-9638de61fea6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-12-05 21:44:11 |

2021-12-05 21:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:11 | ------------------------------------

2021-12-05 21:44: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-9596d6b9-cf45-4885-8041-fb3fea4ebe4b)</node-pattern></data>

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

subscribeNodes 1.198s
2021-12-05 21:44:09 |

2021-12-05 21:44:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:09 | ------------------------------------

2021-12-05 21:44:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-05 21:44: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.639s
2021-12-05 21:44:11 |

2021-12-05 21:44:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:44:11 | ------------------------------------

2021-12-05 21:44:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9596d6b9-cf45-4885-8041-fb3fea4ebe4b</node><jids><value>admin@test-domain.com</value></jids></data>

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