Generated by TestNG with ReportNG at 21:18 PST on Wednesday 16 November 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.652s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2022-11-16 21:33:04 |

2022-11-16 21:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:04 | ------------------------------------

2022-11-16 21:33:04 | [Mutex] waiting for: [configured:node:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:node-b7bbfc9b-5562-40a4-8758-6d771c2042cd]

2022-11-16 21:33:04 | [Mutex] received everything.

2022-11-16 21:33:04 | [Mutex] isItemNotified: configured:node:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:node-b7bbfc9b-5562-40a4-8758-6d771c2042cd :: true

2022-11-16 21:33:05 | [Mutex] waiting for: [received:nodes:83b6ff85-678f-4515-86bd-dd51bc83388d:localhost]

2022-11-16 21:33:05 | [Mutex] received everything.

2022-11-16 21:33:05 | [Mutex] isItemNotified: received:node:83b6ff85-678f-4515-86bd-dd51bc83388d:localhost:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:Node 27e578ab-3739-49af-b7c2-0fc132a0b36c :: true

2022-11-16 21:33:05 | [Mutex] waiting for: [received:nodes:35cb8b45-ed48-47a9-a0dd-adc314e4d074:localhost]

2022-11-16 21:33:05 | [Mutex] waiting for: [received:nodes:35cb8b45-ed48-47a9-a0dd-adc314e4d074:localhost]

2022-11-16 21:33:05 | [Mutex] received everything.

2022-11-16 21:33:05 | [Mutex] isItemNotified: received:node:35cb8b45-ed48-47a9-a0dd-adc314e4d074:localhost:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:Node 27e578ab-3739-49af-b7c2-0fc132a0b36c :: false

createNodes 1.424s
2022-11-16 21:33:02 |

2022-11-16 21:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:02 | ------------------------------------

2022-11-16 21:33:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 27e578ab-3739-49af-b7c2-0fc132a0b36c</title></pubsub></data>

2022-11-16 21:33:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 21:33:03 | [Mutex] waiting for: [received:nodes:c64ac3dc-5ecf-4b37-b046-adf8af4fc0d1:localhost]

2022-11-16 21:33:03 | [Mutex] received everything.

2022-11-16 21:33:03 | [Mutex] isItemNotified: received:node:c64ac3dc-5ecf-4b37-b046-adf8af4fc0d1:localhost:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:Node 27e578ab-3739-49af-b7c2-0fc132a0b36c :: true

createSubnodes 1.026s
2022-11-16 21:33:03 |

2022-11-16 21:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:03 | ------------------------------------

2022-11-16 21:33:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b7bbfc9b-5562-40a4-8758-6d771c2042cd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b7bbfc9b-5562-40a4-8758-6d771c2042cd</title></pubsub></data>

2022-11-16 21:33:03 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 21:33:04 | [Mutex] waiting for: [received:nodes:87f84c12-2513-4788-b878-d3d7dcb91d27:localhost]

2022-11-16 21:33:04 | [Mutex] waiting for: [received:nodes:87f84c12-2513-4788-b878-d3d7dcb91d27:localhost]

2022-11-16 21:33:04 | [Mutex] waiting for: [received:nodes:87f84c12-2513-4788-b878-d3d7dcb91d27:localhost]

2022-11-16 21:33:04 | [Mutex] waiting for: [received:nodes:87f84c12-2513-4788-b878-d3d7dcb91d27:localhost]

2022-11-16 21:33:04 | [Mutex] received everything.

2022-11-16 21:33:04 | [Mutex] isItemNotified: received:node:87f84c12-2513-4788-b878-d3d7dcb91d27:localhost:node-b7bbfc9b-5562-40a4-8758-6d771c2042cd:Node b7bbfc9b-5562-40a4-8758-6d771c2042cd :: true

deleteNodes 1.020s
2022-11-16 21:33:10 |

2022-11-16 21:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:10 | ------------------------------------

2022-11-16 21:33:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b7bbfc9b-5562-40a4-8758-6d771c2042cd</node></data>

2022-11-16 21:33:10 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 21:33:11 | [Mutex] waiting for: [received:nodes:f087b4e7-b31f-4155-b675-995196102287:localhost]

2022-11-16 21:33:11 | [Mutex] received everything.

2022-11-16 21:33:11 | [Mutex] isItemNotified: received:node:f087b4e7-b31f-4155-b675-995196102287:localhost:node-b7bbfc9b-5562-40a4-8758-6d771c2042cd:Node b7bbfc9b-5562-40a4-8758-6d771c2042cd :: false

deleteSubnodes 1.147s
2022-11-16 21:33:08 |

2022-11-16 21:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:08 | ------------------------------------

2022-11-16 21:33:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node></data>

2022-11-16 21:33:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-11-16 21:33:10 | [Mutex] waiting for: [received:nodes:be1b132e-68c1-4e91-90dc-50834c9a4379:localhost]

2022-11-16 21:33:10 | [Mutex] received everything.

2022-11-16 21:33:10 | [Mutex] isItemNotified: received:node:be1b132e-68c1-4e91-90dc-50834c9a4379:localhost:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:Node 27e578ab-3739-49af-b7c2-0fc132a0b36c :: false

2022-11-16 21:33:10 | [Mutex] waiting for: [received:nodes:1d8ff754-9205-4b4b-a0a8-f4d9bded9bcc:localhost]

2022-11-16 21:33:10 | [Mutex] received everything.

2022-11-16 21:33:10 | [Mutex] isItemNotified: received:node:1d8ff754-9205-4b4b-a0a8-f4d9bded9bcc:localhost:node-27e578ab-3739-49af-b7c2-0fc132a0b36c:Node 27e578ab-3739-49af-b7c2-0fc132a0b36c :: false

publishItemsToNodes 0.311s
2022-11-16 21:33:06 |

2022-11-16 21:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:06 | ------------------------------------

2022-11-16 21:33:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node><item-id>item-b095a142-810c-443c-a466-9419f8810c73</item-id><entry><test>item-b095a142-810c-443c-a466-9419f8810c73</test></entry></data>

2022-11-16 21:33:07 | 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-b095a142-810c-443c-a466-9419f8810c73</value></item-id></result>

2022-11-16 21:33:07 | [Mutex] received everything.

2022-11-16 21:33:07 | [Mutex] isItemNotified: published:item:notifieditem-b095a142-810c-443c-a466-9419f8810c73:admin@test-domain.com :: true

retractItemsFromNodes 0.295s
2022-11-16 21:33:07 |

2022-11-16 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:07 | ------------------------------------

2022-11-16 21:33:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node><item-id>item-b095a142-810c-443c-a466-9419f8810c73</item-id></data>

2022-11-16 21:33:07 | 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-b095a142-810c-443c-a466-9419f8810c73</value></item-id></result>

2022-11-16 21:33:07 | [Mutex] received everything.

2022-11-16 21:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-b095a142-810c-443c-a466-9419f8810c73:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2022-11-16 21:33:07 |

2022-11-16 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:07 | ------------------------------------

2022-11-16 21:33:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node><item-id>item-b095a142-810c-443c-a466-9419f8810c73</item-id></data>

2022-11-16 21:33:07 | 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-27e578ab-3739-49af-b7c2-0fc132a0b36c</value></node><item-id label="Item ID" type="text-single"><value>item-b095a142-810c-443c-a466-9419f8810c73</value></item-id><item label="Item" type="text-multi"><value><item id="item-b095a142-810c-443c-a466-9419f8810c73"><test>item-b095a142-810c-443c-a466-9419f8810c73</test></item></value></item></result>

2022-11-16 21:33:07 | [Mutex] notify: [retrieved:item:item-b095a142-810c-443c-a466-9419f8810c73:payload-matches:true:localhost]

2022-11-16 21:33:07 | [Mutex] received everything.

2022-11-16 21:33:07 | [Mutex] isItemNotified: retrieved:item:item-b095a142-810c-443c-a466-9419f8810c73:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-11-16 21:33:07 |

2022-11-16 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:07 | ------------------------------------

2022-11-16 21:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-11-16 21:33:07 | 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-b7bbfc9b-5562-40a4-8758-6d771c2042cd</value><value>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-11-16 21:33:07 |

2022-11-16 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:07 | ------------------------------------

2022-11-16 21:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-27e578ab-3739-49af-b7c2-0fc132a0b36c)</node-pattern></data>

2022-11-16 21:33:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.110s
2022-11-16 21:33:05 |

2022-11-16 21:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:05 | ------------------------------------

2022-11-16 21:33:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-16 21:33:05 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2022-11-16 21:33:07 |

2022-11-16 21:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-11-16 21:33:07 | ------------------------------------

2022-11-16 21:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-27e578ab-3739-49af-b7c2-0fc132a0b36c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-11-16 21:33:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>