Generated by TestNG with ReportNG at 22:53 PDT on Thursday 25 August 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.409s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2022-08-25 23:07:04 |

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

2022-08-25 23:07:04 | ------------------------------------

2022-08-25 23:07:04 | [Mutex] waiting for: [configured:node:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c]

2022-08-25 23:07:04 | [Mutex] received everything.

2022-08-25 23:07:04 | [Mutex] isItemNotified: configured:node:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c :: true

2022-08-25 23:07:05 | [Mutex] waiting for: [received:nodes:190541bb-ec4b-4468-82c9-cf9ef377ba19:localhost]

2022-08-25 23:07:05 | [Mutex] received everything.

2022-08-25 23:07:05 | [Mutex] isItemNotified: received:node:190541bb-ec4b-4468-82c9-cf9ef377ba19:localhost:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:Node f6eb82dc-6359-436a-aab5-662c3d9e3e7e :: true

2022-08-25 23:07:05 | [Mutex] waiting for: [received:nodes:b1dd4f68-a504-4701-8948-b432c3843a3b:localhost]

2022-08-25 23:07:05 | [Mutex] waiting for: [received:nodes:b1dd4f68-a504-4701-8948-b432c3843a3b:localhost]

2022-08-25 23:07:05 | [Mutex] received everything.

2022-08-25 23:07:05 | [Mutex] isItemNotified: received:node:b1dd4f68-a504-4701-8948-b432c3843a3b:localhost:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:Node f6eb82dc-6359-436a-aab5-662c3d9e3e7e :: false

createNodes 1.399s
2022-08-25 23:07:02 |

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

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

2022-08-25 23:07:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f6eb82dc-6359-436a-aab5-662c3d9e3e7e</title></pubsub></data>

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

2022-08-25 23:07:03 | [Mutex] waiting for: [received:nodes:00098e21-3c6f-4fc1-a3ab-765e9bba1919:localhost]

2022-08-25 23:07:03 | [Mutex] received everything.

2022-08-25 23:07:03 | [Mutex] isItemNotified: received:node:00098e21-3c6f-4fc1-a3ab-765e9bba1919:localhost:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:Node f6eb82dc-6359-436a-aab5-662c3d9e3e7e :: true

createSubnodes 1.024s
2022-08-25 23:07:03 |

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

2022-08-25 23:07:03 | ------------------------------------

2022-08-25 23:07:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8fe185c6-3a07-4f1d-9804-d56c5d27d53c</title></pubsub></data>

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

2022-08-25 23:07:04 | [Mutex] waiting for: [received:nodes:1c75ddd1-0002-4a72-adba-6c1d5723de3f:localhost]

2022-08-25 23:07:04 | [Mutex] received everything.

2022-08-25 23:07:04 | [Mutex] isItemNotified: received:node:1c75ddd1-0002-4a72-adba-6c1d5723de3f:localhost:node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c:Node 8fe185c6-3a07-4f1d-9804-d56c5d27d53c :: true

deleteNodes 1.015s
2022-08-25 23:07:10 |

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

2022-08-25 23:07:10 | ------------------------------------

2022-08-25 23:07:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c</node></data>

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

2022-08-25 23:07:11 | [Mutex] waiting for: [received:nodes:ebaeb266-e94a-4d7e-a42c-6bf8139b8480:localhost]

2022-08-25 23:07:11 | [Mutex] waiting for: [received:nodes:ebaeb266-e94a-4d7e-a42c-6bf8139b8480:localhost]

2022-08-25 23:07:11 | [Mutex] received everything.

2022-08-25 23:07:11 | [Mutex] isItemNotified: received:node:ebaeb266-e94a-4d7e-a42c-6bf8139b8480:localhost:node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c:Node 8fe185c6-3a07-4f1d-9804-d56c5d27d53c :: false

deleteSubnodes 1.112s
2022-08-25 23:07:09 |

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

2022-08-25 23:07:09 | ------------------------------------

2022-08-25 23:07:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node></data>

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

2022-08-25 23:07:10 | [Mutex] waiting for: [received:nodes:5fdcff85-ff23-4da9-8b23-0e15c859ccfe:localhost]

2022-08-25 23:07:10 | [Mutex] waiting for: [received:nodes:5fdcff85-ff23-4da9-8b23-0e15c859ccfe:localhost]

2022-08-25 23:07:10 | [Mutex] waiting for: [received:nodes:5fdcff85-ff23-4da9-8b23-0e15c859ccfe:localhost]

2022-08-25 23:07:10 | [Mutex] received everything.

2022-08-25 23:07:10 | [Mutex] isItemNotified: received:node:5fdcff85-ff23-4da9-8b23-0e15c859ccfe:localhost:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:Node f6eb82dc-6359-436a-aab5-662c3d9e3e7e :: false

2022-08-25 23:07:10 | [Mutex] waiting for: [received:nodes:8bf0f10a-19bc-4ef2-b320-0b1f0eec247e:localhost]

2022-08-25 23:07:10 | [Mutex] received everything.

2022-08-25 23:07:10 | [Mutex] isItemNotified: received:node:8bf0f10a-19bc-4ef2-b320-0b1f0eec247e:localhost:node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e:Node f6eb82dc-6359-436a-aab5-662c3d9e3e7e :: false

publishItemsToNodes 0.186s
2022-08-25 23:07:07 |

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

2022-08-25 23:07:07 | ------------------------------------

2022-08-25 23:07:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node><item-id>item-08e29574-beb0-4f54-b9c3-1e9afb098eb2</item-id><entry><test>item-08e29574-beb0-4f54-b9c3-1e9afb098eb2</test></entry></data>

2022-08-25 23:07:07 | 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-08e29574-beb0-4f54-b9c3-1e9afb098eb2</value></item-id></result>

2022-08-25 23:07:07 | [Mutex] waiting for: [published:item:notifieditem-08e29574-beb0-4f54-b9c3-1e9afb098eb2:admin@test-domain.com]

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

2022-08-25 23:07:07 | [Mutex] isItemNotified: published:item:notifieditem-08e29574-beb0-4f54-b9c3-1e9afb098eb2:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-08-25 23:07:07 |

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

2022-08-25 23:07:07 | ------------------------------------

2022-08-25 23:07:07 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node><item-id>item-08e29574-beb0-4f54-b9c3-1e9afb098eb2</item-id></data>

2022-08-25 23:07:07 | 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-08e29574-beb0-4f54-b9c3-1e9afb098eb2</value></item-id></result>

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

2022-08-25 23:07:07 | [Mutex] isItemNotified: retracted:item:notifieditem-08e29574-beb0-4f54-b9c3-1e9afb098eb2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.177s
2022-08-25 23:07:07 |

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

2022-08-25 23:07:07 | ------------------------------------

2022-08-25 23:07:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node><item-id>item-08e29574-beb0-4f54-b9c3-1e9afb098eb2</item-id></data>

2022-08-25 23:07:07 | 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-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</value></node><item-id type="text-single" label="Item ID"><value>item-08e29574-beb0-4f54-b9c3-1e9afb098eb2</value></item-id><item type="text-multi" label="Item"><value><item id="item-08e29574-beb0-4f54-b9c3-1e9afb098eb2"><test>item-08e29574-beb0-4f54-b9c3-1e9afb098eb2</test></item></value></item></result>

2022-08-25 23:07:07 | [Mutex] notify: [retrieved:item:item-08e29574-beb0-4f54-b9c3-1e9afb098eb2:payload-matches:true:localhost]

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

2022-08-25 23:07:07 | [Mutex] isItemNotified: retrieved:item:item-08e29574-beb0-4f54-b9c3-1e9afb098eb2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-08-25 23:07:07 |

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

2022-08-25 23:07:07 | ------------------------------------

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

2022-08-25 23:07:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-8fe185c6-3a07-4f1d-9804-d56c5d27d53c</value><value>test</value><value>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-08-25 23:07:07 |

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

2022-08-25 23:07:07 | ------------------------------------

2022-08-25 23:07: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-f6eb82dc-6359-436a-aab5-662c3d9e3e7e)</node-pattern></data>

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

subscribeNodes 1.158s
2022-08-25 23:07:05 |

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

2022-08-25 23:07:05 | ------------------------------------

2022-08-25 23:07:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.215s
2022-08-25 23:07:07 |

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

2022-08-25 23:07:07 | ------------------------------------

2022-08-25 23:07:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f6eb82dc-6359-436a-aab5-662c3d9e3e7e</node><jids><value>admin@test-domain.com</value></jids></data>

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