Generated by TestNG with ReportNG at 22:32 PDT on Friday 25 August 2023
root@3a0debf50d0d / Java 17.0.8 (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.373s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2023-08-25 22:46:48 |

2023-08-25 22:46:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:48 | ------------------------------------

2023-08-25 22:46:48 | [Mutex] waiting for: [configured:node:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7]

2023-08-25 22:46:48 | [Mutex] received everything.

2023-08-25 22:46:48 | [Mutex] isItemNotified: configured:node:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7 :: true

2023-08-25 22:46:49 | [Mutex] waiting for: [received:nodes:b5cdc597-e3b5-41a5-90c3-5784a1c38653:localhost]

2023-08-25 22:46:49 | [Mutex] received everything.

2023-08-25 22:46:49 | [Mutex] isItemNotified: received:node:b5cdc597-e3b5-41a5-90c3-5784a1c38653:localhost:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:Node d0408273-6a33-4c8a-89ad-3ab6ded53fdf :: true

2023-08-25 22:46:49 | [Mutex] waiting for: [received:nodes:e1f68ad4-e6bb-4c6d-9974-4b85d821c817:localhost]

2023-08-25 22:46:49 | [Mutex] waiting for: [received:nodes:e1f68ad4-e6bb-4c6d-9974-4b85d821c817:localhost]

2023-08-25 22:46:49 | [Mutex] waiting for: [received:nodes:e1f68ad4-e6bb-4c6d-9974-4b85d821c817:localhost]

2023-08-25 22:46:49 | [Mutex] waiting for: [received:nodes:e1f68ad4-e6bb-4c6d-9974-4b85d821c817:localhost]

2023-08-25 22:46:49 | [Mutex] received everything.

2023-08-25 22:46:49 | [Mutex] isItemNotified: received:node:e1f68ad4-e6bb-4c6d-9974-4b85d821c817:localhost:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:Node d0408273-6a33-4c8a-89ad-3ab6ded53fdf :: false

createNodes 1.435s
2023-08-25 22:46:45 |

2023-08-25 22:46:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:45 | ------------------------------------

2023-08-25 22:46:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d0408273-6a33-4c8a-89ad-3ab6ded53fdf</title></pubsub></data>

2023-08-25 22:46:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:46:46 | [Mutex] waiting for: [received:nodes:161dae09-c7dd-44c4-9f48-a2debc5bb439:localhost]

2023-08-25 22:46:46 | [Mutex] received everything.

2023-08-25 22:46:46 | [Mutex] isItemNotified: received:node:161dae09-c7dd-44c4-9f48-a2debc5bb439:localhost:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:Node d0408273-6a33-4c8a-89ad-3ab6ded53fdf :: true

createSubnodes 1.035s
2023-08-25 22:46:46 |

2023-08-25 22:46:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:46 | ------------------------------------

2023-08-25 22:46:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7</title></pubsub></data>

2023-08-25 22:46:47 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:46:48 | [Mutex] waiting for: [received:nodes:3b4fafa9-e684-43d5-ac3a-cedc2a5610a0:localhost]

2023-08-25 22:46:48 | [Mutex] waiting for: [received:nodes:3b4fafa9-e684-43d5-ac3a-cedc2a5610a0:localhost]

2023-08-25 22:46:48 | [Mutex] waiting for: [received:nodes:3b4fafa9-e684-43d5-ac3a-cedc2a5610a0:localhost]

2023-08-25 22:46:48 | [Mutex] received everything.

2023-08-25 22:46:48 | [Mutex] isItemNotified: received:node:3b4fafa9-e684-43d5-ac3a-cedc2a5610a0:localhost:node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7:Node f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7 :: true

deleteNodes 1.022s
2023-08-25 22:46:53 |

2023-08-25 22:46:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:53 | ------------------------------------

2023-08-25 22:46:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7</node></data>

2023-08-25 22:46:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:46:54 | [Mutex] waiting for: [received:nodes:2b2f52af-1a75-4215-90b9-f075d28ae038:localhost]

2023-08-25 22:46:54 | [Mutex] waiting for: [received:nodes:2b2f52af-1a75-4215-90b9-f075d28ae038:localhost]

2023-08-25 22:46:54 | [Mutex] received everything.

2023-08-25 22:46:54 | [Mutex] isItemNotified: received:node:2b2f52af-1a75-4215-90b9-f075d28ae038:localhost:node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7:Node f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7 :: false

deleteSubnodes 1.123s
2023-08-25 22:46:52 |

2023-08-25 22:46:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:52 | ------------------------------------

2023-08-25 22:46:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node></data>

2023-08-25 22:46:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-25 22:46:53 | [Mutex] waiting for: [received:nodes:ff107e02-70fd-4e5b-a89d-b7fafd2912a6:localhost]

2023-08-25 22:46:53 | [Mutex] waiting for: [received:nodes:ff107e02-70fd-4e5b-a89d-b7fafd2912a6:localhost]

2023-08-25 22:46:53 | [Mutex] received everything.

2023-08-25 22:46:53 | [Mutex] isItemNotified: received:node:ff107e02-70fd-4e5b-a89d-b7fafd2912a6:localhost:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:Node d0408273-6a33-4c8a-89ad-3ab6ded53fdf :: false

2023-08-25 22:46:53 | [Mutex] waiting for: [received:nodes:846b6db2-64e2-4793-a861-a10864f344f9:localhost]

2023-08-25 22:46:53 | [Mutex] received everything.

2023-08-25 22:46:53 | [Mutex] isItemNotified: received:node:846b6db2-64e2-4793-a861-a10864f344f9:localhost:node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf:Node d0408273-6a33-4c8a-89ad-3ab6ded53fdf :: false

publishItemsToNodes 0.268s
2023-08-25 22:46:50 |

2023-08-25 22:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:50 | ------------------------------------

2023-08-25 22:46:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node><item-id>item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</item-id><entry><test>item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</test></entry></data>

2023-08-25 22:46:50 | 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-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</value></item-id></result>

2023-08-25 22:46:50 | [Mutex] waiting for: [published:item:notifieditem-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d:admin@test-domain.com]

2023-08-25 22:46:50 | [Mutex] received everything.

2023-08-25 22:46:50 | [Mutex] isItemNotified: published:item:notifieditem-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2023-08-25 22:46:50 |

2023-08-25 22:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:50 | ------------------------------------

2023-08-25 22:46:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node><item-id>item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</item-id></data>

2023-08-25 22:46:51 | 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-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</value></item-id></result>

2023-08-25 22:46:51 | [Mutex] received everything.

2023-08-25 22:46:51 | [Mutex] isItemNotified: retracted:item:notifieditem-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.144s
2023-08-25 22:46:50 |

2023-08-25 22:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:50 | ------------------------------------

2023-08-25 22:46:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node><item-id>item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</item-id></data>

2023-08-25 22:46:50 | 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-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</value></node><item-id type="text-single" label="Item ID"><value>item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</value></item-id><item type="text-multi" label="Item"><value><item id="item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d"><test>item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d</test></item></value></item></result>

2023-08-25 22:46:50 | [Mutex] notify: [retrieved:item:item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d:payload-matches:true:localhost]

2023-08-25 22:46:50 | [Mutex] received everything.

2023-08-25 22:46:50 | [Mutex] isItemNotified: retrieved:item:item-a81bd9fd-7bd3-4f1e-b66a-d3d2f916887d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2023-08-25 22:46:50 |

2023-08-25 22:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:50 | ------------------------------------

2023-08-25 22:46:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-08-25 22:46:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</value><value>test</value><value>node-f05a3975-b6d6-4a3f-9fd1-3cd5a63afaa7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-08-25 22:46:50 |

2023-08-25 22:46:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:50 | ------------------------------------

2023-08-25 22:46:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf)</node-pattern></data>

2023-08-25 22:46:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.102s
2023-08-25 22:46:49 |

2023-08-25 22:46:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:49 | ------------------------------------

2023-08-25 22:46:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-25 22:46:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.187s
2023-08-25 22:46:51 |

2023-08-25 22:46:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-25 22:46:51 | ------------------------------------

2023-08-25 22:46:51 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d0408273-6a33-4c8a-89ad-3ab6ded53fdf</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-25 22:46:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>