Generated by TestNG with ReportNG at 22:20 PDT on Sunday 18 September 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.406s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-09-18 22:34:31 |

2022-09-18 22:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:31 | ------------------------------------

2022-09-18 22:34:31 | [Mutex] waiting for: [configured:node:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016]

2022-09-18 22:34:31 | [Mutex] received everything.

2022-09-18 22:34:31 | [Mutex] isItemNotified: configured:node:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016 :: true

2022-09-18 22:34:32 | [Mutex] waiting for: [received:nodes:4850291e-f435-4d8c-ab50-b748b604ed31:localhost]

2022-09-18 22:34:32 | [Mutex] received everything.

2022-09-18 22:34:32 | [Mutex] isItemNotified: received:node:4850291e-f435-4d8c-ab50-b748b604ed31:localhost:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:Node b696dc88-5716-4f47-b5c4-6ee5ce28c773 :: true

2022-09-18 22:34:32 | [Mutex] waiting for: [received:nodes:d5106f4f-ff3e-480e-909c-7bbfdb1cfcc6:localhost]

2022-09-18 22:34:32 | [Mutex] received everything.

2022-09-18 22:34:32 | [Mutex] isItemNotified: received:node:d5106f4f-ff3e-480e-909c-7bbfdb1cfcc6:localhost:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:Node b696dc88-5716-4f47-b5c4-6ee5ce28c773 :: false

createNodes 1.466s
2022-09-18 22:34:29 |

2022-09-18 22:34:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:29 | ------------------------------------

2022-09-18 22:34:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b696dc88-5716-4f47-b5c4-6ee5ce28c773</title></pubsub></data>

2022-09-18 22:34:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 22:34:30 | [Mutex] waiting for: [received:nodes:6692512e-f6fc-4257-a9ee-a715c5284de4:localhost]

2022-09-18 22:34:30 | [Mutex] received everything.

2022-09-18 22:34:30 | [Mutex] isItemNotified: received:node:6692512e-f6fc-4257-a9ee-a715c5284de4:localhost:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:Node b696dc88-5716-4f47-b5c4-6ee5ce28c773 :: true

createSubnodes 1.031s
2022-09-18 22:34:30 |

2022-09-18 22:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:30 | ------------------------------------

2022-09-18 22:34:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4aaf921b-f3f9-43ca-afb0-b8700f3a7016</title></pubsub></data>

2022-09-18 22:34:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 22:34:31 | [Mutex] waiting for: [received:nodes:6688438a-35ef-4c68-87b7-3a02b6a3dc59:localhost]

2022-09-18 22:34:31 | [Mutex] received everything.

2022-09-18 22:34:31 | [Mutex] isItemNotified: received:node:6688438a-35ef-4c68-87b7-3a02b6a3dc59:localhost:node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016:Node 4aaf921b-f3f9-43ca-afb0-b8700f3a7016 :: true

deleteNodes 1.021s
2022-09-18 22:34:37 |

2022-09-18 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:37 | ------------------------------------

2022-09-18 22:34:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016</node></data>

2022-09-18 22:34:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 22:34:38 | [Mutex] waiting for: [received:nodes:f3a9982e-8636-4fef-99a8-121c7064c98a:localhost]

2022-09-18 22:34:38 | [Mutex] received everything.

2022-09-18 22:34:38 | [Mutex] isItemNotified: received:node:f3a9982e-8636-4fef-99a8-121c7064c98a:localhost:node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016:Node 4aaf921b-f3f9-43ca-afb0-b8700f3a7016 :: false

deleteSubnodes 1.159s
2022-09-18 22:34:35 |

2022-09-18 22:34:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:35 | ------------------------------------

2022-09-18 22:34:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node></data>

2022-09-18 22:34:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-18 22:34:37 | [Mutex] waiting for: [received:nodes:eb67f784-4571-4509-a4d2-4dc5c409dc02:localhost]

2022-09-18 22:34:37 | [Mutex] waiting for: [received:nodes:eb67f784-4571-4509-a4d2-4dc5c409dc02:localhost]

2022-09-18 22:34:37 | [Mutex] received everything.

2022-09-18 22:34:37 | [Mutex] isItemNotified: received:node:eb67f784-4571-4509-a4d2-4dc5c409dc02:localhost:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:Node b696dc88-5716-4f47-b5c4-6ee5ce28c773 :: false

2022-09-18 22:34:37 | [Mutex] waiting for: [received:nodes:4b2789f3-4a0c-4318-a4d2-611eb54eccb5:localhost]

2022-09-18 22:34:37 | [Mutex] received everything.

2022-09-18 22:34:37 | [Mutex] isItemNotified: received:node:4b2789f3-4a0c-4318-a4d2-611eb54eccb5:localhost:node-b696dc88-5716-4f47-b5c4-6ee5ce28c773:Node b696dc88-5716-4f47-b5c4-6ee5ce28c773 :: false

publishItemsToNodes 0.260s
2022-09-18 22:34:34 |

2022-09-18 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:34 | ------------------------------------

2022-09-18 22:34:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node><item-id>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</item-id><entry><test>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</test></entry></data>

2022-09-18 22:34:34 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</value></item-id></result>

2022-09-18 22:34:34 | [Mutex] received everything.

2022-09-18 22:34:34 | [Mutex] isItemNotified: published:item:notifieditem-0d595b0e-bb17-4ed2-b4d3-819a412709c3:admin@test-domain.com :: true

retractItemsFromNodes 0.163s
2022-09-18 22:34:34 |

2022-09-18 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:34 | ------------------------------------

2022-09-18 22:34:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node><item-id>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</item-id></data>

2022-09-18 22:34:34 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</value></item-id></result>

2022-09-18 22:34:34 | [Mutex] received everything.

2022-09-18 22:34:34 | [Mutex] isItemNotified: retracted:item:notifieditem-0d595b0e-bb17-4ed2-b4d3-819a412709c3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.172s
2022-09-18 22:34:34 |

2022-09-18 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:34 | ------------------------------------

2022-09-18 22:34:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node><item-id>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</item-id></data>

2022-09-18 22:34:34 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</value></node><item-id type="text-single" label="Item ID"><value>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</value></item-id><item type="text-multi" label="Item"><value><item id="item-0d595b0e-bb17-4ed2-b4d3-819a412709c3"><test>item-0d595b0e-bb17-4ed2-b4d3-819a412709c3</test></item></value></item></result>

2022-09-18 22:34:34 | [Mutex] notify: [retrieved:item:item-0d595b0e-bb17-4ed2-b4d3-819a412709c3:payload-matches:true:localhost]

2022-09-18 22:34:34 | [Mutex] received everything.

2022-09-18 22:34:34 | [Mutex] isItemNotified: retrieved:item:item-0d595b0e-bb17-4ed2-b4d3-819a412709c3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-09-18 22:34:34 |

2022-09-18 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:34 | ------------------------------------

2022-09-18 22:34:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-18 22:34:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4aaf921b-f3f9-43ca-afb0-b8700f3a7016</value><value>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-09-18 22:34:34 |

2022-09-18 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:34 | ------------------------------------

2022-09-18 22:34:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b696dc88-5716-4f47-b5c4-6ee5ce28c773)</node-pattern></data>

2022-09-18 22:34:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.119s
2022-09-18 22:34:32 |

2022-09-18 22:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:32 | ------------------------------------

2022-09-18 22:34:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.211s
2022-09-18 22:34:34 |

2022-09-18 22:34:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-18 22:34:34 | ------------------------------------

2022-09-18 22:34:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b696dc88-5716-4f47-b5c4-6ee5ce28c773</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-18 22:34:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>