Generated by TestNG with ReportNG at 22:47 PDT on Friday 01 July 2022
root@f9c07ffec79b / 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.524s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.142s
2022-07-01 23:02:24 |

2022-07-01 23:02:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:24 | ------------------------------------

2022-07-01 23:02:24 | [Mutex] waiting for: [configured:node:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3]

2022-07-01 23:02:24 | [Mutex] received everything.

2022-07-01 23:02:24 | [Mutex] isItemNotified: configured:node:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3 :: true

2022-07-01 23:02:25 | [Mutex] waiting for: [received:nodes:ef8a07a1-e643-4dac-95e9-bb84a6d0a73d:localhost]

2022-07-01 23:02:25 | [Mutex] received everything.

2022-07-01 23:02:25 | [Mutex] isItemNotified: received:node:ef8a07a1-e643-4dac-95e9-bb84a6d0a73d:localhost:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:Node a7898386-9b7c-48cf-b6c6-de2556ebc23c :: true

2022-07-01 23:02:25 | [Mutex] waiting for: [received:nodes:e334e036-cff6-47d7-89d4-69ca77f37bac:localhost]

2022-07-01 23:02:25 | [Mutex] waiting for: [received:nodes:e334e036-cff6-47d7-89d4-69ca77f37bac:localhost]

2022-07-01 23:02:25 | [Mutex] received everything.

2022-07-01 23:02:25 | [Mutex] isItemNotified: received:node:e334e036-cff6-47d7-89d4-69ca77f37bac:localhost:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:Node a7898386-9b7c-48cf-b6c6-de2556ebc23c :: false

createNodes 1.373s
2022-07-01 23:02:21 |

2022-07-01 23:02:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:21 | ------------------------------------

2022-07-01 23:02:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a7898386-9b7c-48cf-b6c6-de2556ebc23c</title></pubsub></data>

2022-07-01 23:02:22 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-01 23:02:23 | [Mutex] waiting for: [received:nodes:ef806635-62bf-423f-b8e6-41e504c97206:localhost]

2022-07-01 23:02:23 | [Mutex] received everything.

2022-07-01 23:02:23 | [Mutex] isItemNotified: received:node:ef806635-62bf-423f-b8e6-41e504c97206:localhost:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:Node a7898386-9b7c-48cf-b6c6-de2556ebc23c :: true

createSubnodes 1.033s
2022-07-01 23:02:23 |

2022-07-01 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:23 | ------------------------------------

2022-07-01 23:02:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1cf37ba3-50ba-4215-b0ee-43d33e48a6d3</title></pubsub></data>

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

2022-07-01 23:02:24 | [Mutex] waiting for: [received:nodes:a995d684-94c0-46c6-b6b0-bf5716b12f63:localhost]

2022-07-01 23:02:24 | [Mutex] received everything.

2022-07-01 23:02:24 | [Mutex] isItemNotified: received:node:a995d684-94c0-46c6-b6b0-bf5716b12f63:localhost:node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3:Node 1cf37ba3-50ba-4215-b0ee-43d33e48a6d3 :: true

deleteNodes 1.016s
2022-07-01 23:02:29 |

2022-07-01 23:02:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:29 | ------------------------------------

2022-07-01 23:02:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3</node></data>

2022-07-01 23:02:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-01 23:02:30 | [Mutex] waiting for: [received:nodes:15c6f380-032e-4439-a255-26fe51ab3a71:localhost]

2022-07-01 23:02:30 | [Mutex] waiting for: [received:nodes:15c6f380-032e-4439-a255-26fe51ab3a71:localhost]

2022-07-01 23:02:30 | [Mutex] received everything.

2022-07-01 23:02:30 | [Mutex] isItemNotified: received:node:15c6f380-032e-4439-a255-26fe51ab3a71:localhost:node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3:Node 1cf37ba3-50ba-4215-b0ee-43d33e48a6d3 :: false

deleteSubnodes 1.121s
2022-07-01 23:02:28 |

2022-07-01 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:28 | ------------------------------------

2022-07-01 23:02:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node></data>

2022-07-01 23:02:28 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-01 23:02:29 | [Mutex] waiting for: [received:nodes:98a64f9e-7190-4aac-86c1-8188b839ab9c:localhost]

2022-07-01 23:02:29 | [Mutex] received everything.

2022-07-01 23:02:29 | [Mutex] isItemNotified: received:node:98a64f9e-7190-4aac-86c1-8188b839ab9c:localhost:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:Node a7898386-9b7c-48cf-b6c6-de2556ebc23c :: false

2022-07-01 23:02:29 | [Mutex] waiting for: [received:nodes:d6599069-c578-4fcc-b8e7-28fa590ef8a6:localhost]

2022-07-01 23:02:29 | [Mutex] received everything.

2022-07-01 23:02:29 | [Mutex] isItemNotified: received:node:d6599069-c578-4fcc-b8e7-28fa590ef8a6:localhost:node-a7898386-9b7c-48cf-b6c6-de2556ebc23c:Node a7898386-9b7c-48cf-b6c6-de2556ebc23c :: false

publishItemsToNodes 0.197s
2022-07-01 23:02:26 |

2022-07-01 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:26 | ------------------------------------

2022-07-01 23:02:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node><item-id>item-edf5be3a-e554-43b6-8151-ee5df1a87e98</item-id><entry><test>item-edf5be3a-e554-43b6-8151-ee5df1a87e98</test></entry></data>

2022-07-01 23:02:26 | 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-edf5be3a-e554-43b6-8151-ee5df1a87e98</value></item-id></result>

2022-07-01 23:02:26 | [Mutex] waiting for: [published:item:notifieditem-edf5be3a-e554-43b6-8151-ee5df1a87e98:admin@test-domain.com]

2022-07-01 23:02:26 | [Mutex] received everything.

2022-07-01 23:02:26 | [Mutex] isItemNotified: published:item:notifieditem-edf5be3a-e554-43b6-8151-ee5df1a87e98:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-07-01 23:02:27 |

2022-07-01 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:27 | ------------------------------------

2022-07-01 23:02:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node><item-id>item-edf5be3a-e554-43b6-8151-ee5df1a87e98</item-id></data>

2022-07-01 23:02:27 | 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-edf5be3a-e554-43b6-8151-ee5df1a87e98</value></item-id></result>

2022-07-01 23:02:27 | [Mutex] received everything.

2022-07-01 23:02:27 | [Mutex] isItemNotified: retracted:item:notifieditem-edf5be3a-e554-43b6-8151-ee5df1a87e98:admin@test-domain.com :: true

retrieveItemsFromNodes 0.193s
2022-07-01 23:02:26 |

2022-07-01 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:26 | ------------------------------------

2022-07-01 23:02:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node><item-id>item-edf5be3a-e554-43b6-8151-ee5df1a87e98</item-id></data>

2022-07-01 23:02:27 | 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-a7898386-9b7c-48cf-b6c6-de2556ebc23c</value></node><item-id type="text-single" label="Item ID"><value>item-edf5be3a-e554-43b6-8151-ee5df1a87e98</value></item-id><item type="text-multi" label="Item"><value><item id="item-edf5be3a-e554-43b6-8151-ee5df1a87e98"><test>item-edf5be3a-e554-43b6-8151-ee5df1a87e98</test></item></value></item></result>

2022-07-01 23:02:27 | [Mutex] notify: [retrieved:item:item-edf5be3a-e554-43b6-8151-ee5df1a87e98:payload-matches:true:localhost]

2022-07-01 23:02:27 | [Mutex] received everything.

2022-07-01 23:02:27 | [Mutex] isItemNotified: retrieved:item:item-edf5be3a-e554-43b6-8151-ee5df1a87e98:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-07-01 23:02:27 |

2022-07-01 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:27 | ------------------------------------

2022-07-01 23:02:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-01 23:02:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1cf37ba3-50ba-4215-b0ee-43d33e48a6d3</value><value>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.051s
2022-07-01 23:02:27 |

2022-07-01 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:27 | ------------------------------------

2022-07-01 23:02:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a7898386-9b7c-48cf-b6c6-de2556ebc23c)</node-pattern></data>

2022-07-01 23:02:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.184s
2022-07-01 23:02:25 |

2022-07-01 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:25 | ------------------------------------

2022-07-01 23:02:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-01 23:02:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2022-07-01 23:02:27 |

2022-07-01 23:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 23:02:27 | ------------------------------------

2022-07-01 23:02:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a7898386-9b7c-48cf-b6c6-de2556ebc23c</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-01 23:02:27 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>