Generated by TestNG with ReportNG at 22:31 PDT on Thursday 07 July 2022
root@7c41cec37518 / 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.504s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-07-07 22:45:07 |

2022-07-07 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:07 | ------------------------------------

2022-07-07 22:45:07 | [Mutex] waiting for: [configured:node:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:node-b9059923-91d0-4848-aa1b-238080704e9b]

2022-07-07 22:45:08 | [Mutex] received everything.

2022-07-07 22:45:08 | [Mutex] isItemNotified: configured:node:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:node-b9059923-91d0-4848-aa1b-238080704e9b :: true

2022-07-07 22:45:09 | [Mutex] waiting for: [received:nodes:0f9ded24-8a57-4574-8156-a8c9deec476a:localhost]

2022-07-07 22:45:09 | [Mutex] received everything.

2022-07-07 22:45:09 | [Mutex] isItemNotified: received:node:0f9ded24-8a57-4574-8156-a8c9deec476a:localhost:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:Node 93e797bd-dcf3-4a49-acf3-c5160f4d7ab9 :: true

2022-07-07 22:45:09 | [Mutex] waiting for: [received:nodes:9eabb8d1-f773-49ac-8fe6-f924016b7e2a:localhost]

2022-07-07 22:45:09 | [Mutex] received everything.

2022-07-07 22:45:09 | [Mutex] isItemNotified: received:node:9eabb8d1-f773-49ac-8fe6-f924016b7e2a:localhost:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:Node 93e797bd-dcf3-4a49-acf3-c5160f4d7ab9 :: false

createNodes 1.419s
2022-07-07 22:45:05 |

2022-07-07 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:05 | ------------------------------------

2022-07-07 22:45:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</title></pubsub></data>

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

2022-07-07 22:45:06 | [Mutex] waiting for: [received:nodes:e8c13e55-2bd4-4c37-85ae-e2b80fee729a:localhost]

2022-07-07 22:45:06 | [Mutex] received everything.

2022-07-07 22:45:06 | [Mutex] isItemNotified: received:node:e8c13e55-2bd4-4c37-85ae-e2b80fee729a:localhost:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:Node 93e797bd-dcf3-4a49-acf3-c5160f4d7ab9 :: true

createSubnodes 1.029s
2022-07-07 22:45:06 |

2022-07-07 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:06 | ------------------------------------

2022-07-07 22:45:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b9059923-91d0-4848-aa1b-238080704e9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b9059923-91d0-4848-aa1b-238080704e9b</title></pubsub></data>

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

2022-07-07 22:45:07 | [Mutex] waiting for: [received:nodes:f9e6b925-378b-4cbe-9b85-ff757c96ed3d:localhost]

2022-07-07 22:45:07 | [Mutex] received everything.

2022-07-07 22:45:07 | [Mutex] isItemNotified: received:node:f9e6b925-378b-4cbe-9b85-ff757c96ed3d:localhost:node-b9059923-91d0-4848-aa1b-238080704e9b:Node b9059923-91d0-4848-aa1b-238080704e9b :: true

deleteNodes 1.024s
2022-07-07 22:45:13 |

2022-07-07 22:45:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:13 | ------------------------------------

2022-07-07 22:45:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b9059923-91d0-4848-aa1b-238080704e9b</node></data>

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

2022-07-07 22:45:14 | [Mutex] waiting for: [received:nodes:b44f2d17-3863-4668-af15-c7936a4a6831:localhost]

2022-07-07 22:45:14 | [Mutex] received everything.

2022-07-07 22:45:14 | [Mutex] isItemNotified: received:node:b44f2d17-3863-4668-af15-c7936a4a6831:localhost:node-b9059923-91d0-4848-aa1b-238080704e9b:Node b9059923-91d0-4848-aa1b-238080704e9b :: false

deleteSubnodes 1.205s
2022-07-07 22:45:12 |

2022-07-07 22:45:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:12 | ------------------------------------

2022-07-07 22:45:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node></data>

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

2022-07-07 22:45:13 | [Mutex] waiting for: [received:nodes:67789194-0228-4bea-866b-25977fc56d71:localhost]

2022-07-07 22:45:13 | [Mutex] received everything.

2022-07-07 22:45:13 | [Mutex] isItemNotified: received:node:67789194-0228-4bea-866b-25977fc56d71:localhost:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:Node 93e797bd-dcf3-4a49-acf3-c5160f4d7ab9 :: false

2022-07-07 22:45:13 | [Mutex] waiting for: [received:nodes:9aac9b92-eabe-45ec-b871-88e240722aa1:localhost]

2022-07-07 22:45:13 | [Mutex] received everything.

2022-07-07 22:45:13 | [Mutex] isItemNotified: received:node:9aac9b92-eabe-45ec-b871-88e240722aa1:localhost:node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9:Node 93e797bd-dcf3-4a49-acf3-c5160f4d7ab9 :: false

publishItemsToNodes 0.170s
2022-07-07 22:45:10 |

2022-07-07 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:10 | ------------------------------------

2022-07-07 22:45:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node><item-id>item-2c8fb2de-5869-4065-96f1-71737f2ba225</item-id><entry><test>item-2c8fb2de-5869-4065-96f1-71737f2ba225</test></entry></data>

2022-07-07 22:45:10 | 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-2c8fb2de-5869-4065-96f1-71737f2ba225</value></item-id></result>

2022-07-07 22:45:10 | [Mutex] waiting for: [published:item:notifieditem-2c8fb2de-5869-4065-96f1-71737f2ba225:admin@test-domain.com]

2022-07-07 22:45:10 | [Mutex] received everything.

2022-07-07 22:45:10 | [Mutex] isItemNotified: published:item:notifieditem-2c8fb2de-5869-4065-96f1-71737f2ba225:admin@test-domain.com :: true

retractItemsFromNodes 0.241s
2022-07-07 22:45:10 |

2022-07-07 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:10 | ------------------------------------

2022-07-07 22:45:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node><item-id>item-2c8fb2de-5869-4065-96f1-71737f2ba225</item-id></data>

2022-07-07 22:45:11 | 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-2c8fb2de-5869-4065-96f1-71737f2ba225</value></item-id></result>

2022-07-07 22:45:11 | [Mutex] received everything.

2022-07-07 22:45:11 | [Mutex] isItemNotified: retracted:item:notifieditem-2c8fb2de-5869-4065-96f1-71737f2ba225:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2022-07-07 22:45:10 |

2022-07-07 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:10 | ------------------------------------

2022-07-07 22:45:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node><item-id>item-2c8fb2de-5869-4065-96f1-71737f2ba225</item-id></data>

2022-07-07 22:45:10 | 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-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</value></node><item-id label="Item ID" type="text-single"><value>item-2c8fb2de-5869-4065-96f1-71737f2ba225</value></item-id><item label="Item" type="text-multi"><value><item id="item-2c8fb2de-5869-4065-96f1-71737f2ba225"><test>item-2c8fb2de-5869-4065-96f1-71737f2ba225</test></item></value></item></result>

2022-07-07 22:45:10 | [Mutex] notify: [retrieved:item:item-2c8fb2de-5869-4065-96f1-71737f2ba225:payload-matches:true:localhost]

2022-07-07 22:45:10 | [Mutex] received everything.

2022-07-07 22:45:10 | [Mutex] isItemNotified: retrieved:item:item-2c8fb2de-5869-4065-96f1-71737f2ba225:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-07 22:45:10 |

2022-07-07 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:10 | ------------------------------------

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

2022-07-07 22:45:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b9059923-91d0-4848-aa1b-238080704e9b</value><value>test</value><value>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-07 22:45:10 |

2022-07-07 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:10 | ------------------------------------

2022-07-07 22:45:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9)</node-pattern></data>

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

subscribeNodes 1.119s
2022-07-07 22:45:09 |

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

2022-07-07 22:45:09 | ------------------------------------

2022-07-07 22:45:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.205s
2022-07-07 22:45:11 |

2022-07-07 22:45:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-07 22:45:11 | ------------------------------------

2022-07-07 22:45:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-93e797bd-dcf3-4a49-acf3-c5160f4d7ab9</node><jids><value>admin@test-domain.com</value></jids></data>

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