Generated by TestNG with ReportNG at 21:15 PST on Friday 17 February 2023
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.435s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-02-17 21:31:25 |

2023-02-17 21:31:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:25 | ------------------------------------

2023-02-17 21:31:25 | [Mutex] waiting for: [configured:node:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd]

2023-02-17 21:31:25 | [Mutex] received everything.

2023-02-17 21:31:25 | [Mutex] isItemNotified: configured:node:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd :: true

2023-02-17 21:31:26 | [Mutex] waiting for: [received:nodes:3610cec5-505b-4ef9-8fb7-5a4429396acc:localhost]

2023-02-17 21:31:26 | [Mutex] received everything.

2023-02-17 21:31:26 | [Mutex] isItemNotified: received:node:3610cec5-505b-4ef9-8fb7-5a4429396acc:localhost:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:Node 4f2dde39-943a-45a6-9ff2-47acc027bc18 :: true

2023-02-17 21:31:26 | [Mutex] waiting for: [received:nodes:9d9b2605-7290-4835-ab16-7dcebe106659:localhost]

2023-02-17 21:31:26 | [Mutex] waiting for: [received:nodes:9d9b2605-7290-4835-ab16-7dcebe106659:localhost]

2023-02-17 21:31:26 | [Mutex] waiting for: [received:nodes:9d9b2605-7290-4835-ab16-7dcebe106659:localhost]

2023-02-17 21:31:26 | [Mutex] received everything.

2023-02-17 21:31:26 | [Mutex] isItemNotified: received:node:9d9b2605-7290-4835-ab16-7dcebe106659:localhost:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:Node 4f2dde39-943a-45a6-9ff2-47acc027bc18 :: false

createNodes 1.343s
2023-02-17 21:31:23 |

2023-02-17 21:31:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:23 | ------------------------------------

2023-02-17 21:31:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4f2dde39-943a-45a6-9ff2-47acc027bc18</title></pubsub></data>

2023-02-17 21:31:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:31:24 | [Mutex] waiting for: [received:nodes:88be5b34-d383-412b-a3ec-a70204b94e29:localhost]

2023-02-17 21:31:24 | [Mutex] waiting for: [received:nodes:88be5b34-d383-412b-a3ec-a70204b94e29:localhost]

2023-02-17 21:31:24 | [Mutex] waiting for: [received:nodes:88be5b34-d383-412b-a3ec-a70204b94e29:localhost]

2023-02-17 21:31:24 | [Mutex] waiting for: [received:nodes:88be5b34-d383-412b-a3ec-a70204b94e29:localhost]

2023-02-17 21:31:24 | [Mutex] received everything.

2023-02-17 21:31:24 | [Mutex] isItemNotified: received:node:88be5b34-d383-412b-a3ec-a70204b94e29:localhost:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:Node 4f2dde39-943a-45a6-9ff2-47acc027bc18 :: true

createSubnodes 1.027s
2023-02-17 21:31:24 |

2023-02-17 21:31:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:24 | ------------------------------------

2023-02-17 21:31:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd</title></pubsub></data>

2023-02-17 21:31:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:31:25 | [Mutex] waiting for: [received:nodes:e67eb547-774b-4561-b095-61d0d69095e0:localhost]

2023-02-17 21:31:25 | [Mutex] waiting for: [received:nodes:e67eb547-774b-4561-b095-61d0d69095e0:localhost]

2023-02-17 21:31:25 | [Mutex] waiting for: [received:nodes:e67eb547-774b-4561-b095-61d0d69095e0:localhost]

2023-02-17 21:31:25 | [Mutex] waiting for: [received:nodes:e67eb547-774b-4561-b095-61d0d69095e0:localhost]

2023-02-17 21:31:25 | [Mutex] received everything.

2023-02-17 21:31:25 | [Mutex] isItemNotified: received:node:e67eb547-774b-4561-b095-61d0d69095e0:localhost:node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd:Node c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd :: true

deleteNodes 1.015s
2023-02-17 21:31:30 |

2023-02-17 21:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:30 | ------------------------------------

2023-02-17 21:31:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd</node></data>

2023-02-17 21:31:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:31:31 | [Mutex] waiting for: [received:nodes:d07c8265-453a-4737-83fe-e167a2615c88:localhost]

2023-02-17 21:31:31 | [Mutex] waiting for: [received:nodes:d07c8265-453a-4737-83fe-e167a2615c88:localhost]

2023-02-17 21:31:31 | [Mutex] waiting for: [received:nodes:d07c8265-453a-4737-83fe-e167a2615c88:localhost]

2023-02-17 21:31:31 | [Mutex] received everything.

2023-02-17 21:31:31 | [Mutex] isItemNotified: received:node:d07c8265-453a-4737-83fe-e167a2615c88:localhost:node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd:Node c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd :: false

deleteSubnodes 1.127s
2023-02-17 21:31:29 |

2023-02-17 21:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:29 | ------------------------------------

2023-02-17 21:31:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node></data>

2023-02-17 21:31:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-17 21:31:30 | [Mutex] waiting for: [received:nodes:f9c202be-bc7e-44c2-89fe-782b2656169e:localhost]

2023-02-17 21:31:30 | [Mutex] waiting for: [received:nodes:f9c202be-bc7e-44c2-89fe-782b2656169e:localhost]

2023-02-17 21:31:30 | [Mutex] waiting for: [received:nodes:f9c202be-bc7e-44c2-89fe-782b2656169e:localhost]

2023-02-17 21:31:30 | [Mutex] waiting for: [received:nodes:f9c202be-bc7e-44c2-89fe-782b2656169e:localhost]

2023-02-17 21:31:30 | [Mutex] received everything.

2023-02-17 21:31:30 | [Mutex] isItemNotified: received:node:f9c202be-bc7e-44c2-89fe-782b2656169e:localhost:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:Node 4f2dde39-943a-45a6-9ff2-47acc027bc18 :: false

2023-02-17 21:31:30 | [Mutex] waiting for: [received:nodes:6ba8d2b9-262e-4998-8fbb-3d004916f0b7:localhost]

2023-02-17 21:31:30 | [Mutex] received everything.

2023-02-17 21:31:30 | [Mutex] isItemNotified: received:node:6ba8d2b9-262e-4998-8fbb-3d004916f0b7:localhost:node-4f2dde39-943a-45a6-9ff2-47acc027bc18:Node 4f2dde39-943a-45a6-9ff2-47acc027bc18 :: false

publishItemsToNodes 0.235s
2023-02-17 21:31:27 |

2023-02-17 21:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:27 | ------------------------------------

2023-02-17 21:31:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node><item-id>item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</item-id><entry><test>item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</test></entry></data>

2023-02-17 21:31:27 | 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-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</value></item-id></result>

2023-02-17 21:31:27 | [Mutex] received everything.

2023-02-17 21:31:27 | [Mutex] isItemNotified: published:item:notifieditem-a252e3dc-b7f7-4f39-bf87-092d770b9d0a:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2023-02-17 21:31:28 |

2023-02-17 21:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:28 | ------------------------------------

2023-02-17 21:31:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node><item-id>item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</item-id></data>

2023-02-17 21:31:28 | 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-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</value></item-id></result>

2023-02-17 21:31:28 | [Mutex] received everything.

2023-02-17 21:31:28 | [Mutex] isItemNotified: retracted:item:notifieditem-a252e3dc-b7f7-4f39-bf87-092d770b9d0a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2023-02-17 21:31:27 |

2023-02-17 21:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:27 | ------------------------------------

2023-02-17 21:31:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node><item-id>item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</item-id></data>

2023-02-17 21:31:28 | 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-4f2dde39-943a-45a6-9ff2-47acc027bc18</value></node><item-id label="Item ID" type="text-single"><value>item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</value></item-id><item label="Item" type="text-multi"><value><item id="item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a"><test>item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a</test></item></value></item></result>

2023-02-17 21:31:28 | [Mutex] notify: [retrieved:item:item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a:payload-matches:true:localhost]

2023-02-17 21:31:28 | [Mutex] received everything.

2023-02-17 21:31:28 | [Mutex] isItemNotified: retrieved:item:item-a252e3dc-b7f7-4f39-bf87-092d770b9d0a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-17 21:31:28 |

2023-02-17 21:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:28 | ------------------------------------

2023-02-17 21:31:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-17 21:31:28 | 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-4f2dde39-943a-45a6-9ff2-47acc027bc18</value><value>node-c2b31fd2-aa09-4ca2-8ef0-03adc10d25bd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2023-02-17 21:31:28 |

2023-02-17 21:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:28 | ------------------------------------

2023-02-17 21:31:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4f2dde39-943a-45a6-9ff2-47acc027bc18)</node-pattern></data>

2023-02-17 21:31:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.112s
2023-02-17 21:31:26 |

2023-02-17 21:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:26 | ------------------------------------

2023-02-17 21:31:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-17 21:31:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.219s
2023-02-17 21:31:28 |

2023-02-17 21:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-17 21:31:28 | ------------------------------------

2023-02-17 21:31:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4f2dde39-943a-45a6-9ff2-47acc027bc18</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-17 21:31:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>