Generated by TestNG with ReportNG at 22:30 PDT on Friday 07 July 2023
root@8f5c98824654 / Java 17.0.6 (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.436s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2023-07-07 22:45:01 |

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

2023-07-07 22:45:01 | ------------------------------------

2023-07-07 22:45:01 | [Mutex] waiting for: [configured:node:node-f22f6e59-e27c-486d-8c59-857a23376491:node-d8154bbf-9d65-42d1-8a9e-c15829bef51a]

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

2023-07-07 22:45:01 | [Mutex] isItemNotified: configured:node:node-f22f6e59-e27c-486d-8c59-857a23376491:node-d8154bbf-9d65-42d1-8a9e-c15829bef51a :: true

2023-07-07 22:45:02 | [Mutex] waiting for: [received:nodes:90db8b53-c165-49a4-94d1-423ce188ac66:localhost]

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

2023-07-07 22:45:02 | [Mutex] isItemNotified: received:node:90db8b53-c165-49a4-94d1-423ce188ac66:localhost:node-f22f6e59-e27c-486d-8c59-857a23376491:Node f22f6e59-e27c-486d-8c59-857a23376491 :: true

2023-07-07 22:45:02 | [Mutex] waiting for: [received:nodes:30f67c85-7537-4abd-b2de-17ef3f5ca80e:localhost]

2023-07-07 22:45:02 | [Mutex] waiting for: [received:nodes:30f67c85-7537-4abd-b2de-17ef3f5ca80e:localhost]

2023-07-07 22:45:02 | [Mutex] waiting for: [received:nodes:30f67c85-7537-4abd-b2de-17ef3f5ca80e:localhost]

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

2023-07-07 22:45:02 | [Mutex] isItemNotified: received:node:30f67c85-7537-4abd-b2de-17ef3f5ca80e:localhost:node-f22f6e59-e27c-486d-8c59-857a23376491:Node f22f6e59-e27c-486d-8c59-857a23376491 :: false

createNodes 1.377s
2023-07-07 22:44:59 |

2023-07-07 22:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-07 22:44:59 | ------------------------------------

2023-07-07 22:44:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f22f6e59-e27c-486d-8c59-857a23376491</title></pubsub></data>

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

2023-07-07 22:45:00 | [Mutex] waiting for: [received:nodes:288f9ac1-f644-4e33-997e-816bdd239875:localhost]

2023-07-07 22:45:00 | [Mutex] waiting for: [received:nodes:288f9ac1-f644-4e33-997e-816bdd239875:localhost]

2023-07-07 22:45:00 | [Mutex] waiting for: [received:nodes:288f9ac1-f644-4e33-997e-816bdd239875:localhost]

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

2023-07-07 22:45:00 | [Mutex] isItemNotified: received:node:288f9ac1-f644-4e33-997e-816bdd239875:localhost:node-f22f6e59-e27c-486d-8c59-857a23376491:Node f22f6e59-e27c-486d-8c59-857a23376491 :: true

createSubnodes 1.027s
2023-07-07 22:45:00 |

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

2023-07-07 22:45:00 | ------------------------------------

2023-07-07 22:45:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d8154bbf-9d65-42d1-8a9e-c15829bef51a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d8154bbf-9d65-42d1-8a9e-c15829bef51a</title></pubsub></data>

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

2023-07-07 22:45:01 | [Mutex] waiting for: [received:nodes:f59a309c-7a47-4456-889b-862a647a79c5:localhost]

2023-07-07 22:45:01 | [Mutex] waiting for: [received:nodes:f59a309c-7a47-4456-889b-862a647a79c5:localhost]

2023-07-07 22:45:01 | [Mutex] waiting for: [received:nodes:f59a309c-7a47-4456-889b-862a647a79c5:localhost]

2023-07-07 22:45:01 | [Mutex] waiting for: [received:nodes:f59a309c-7a47-4456-889b-862a647a79c5:localhost]

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

2023-07-07 22:45:01 | [Mutex] isItemNotified: received:node:f59a309c-7a47-4456-889b-862a647a79c5:localhost:node-d8154bbf-9d65-42d1-8a9e-c15829bef51a:Node d8154bbf-9d65-42d1-8a9e-c15829bef51a :: true

deleteNodes 1.023s
2023-07-07 22:45:07 |

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

2023-07-07 22:45:07 | ------------------------------------

2023-07-07 22:45:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d8154bbf-9d65-42d1-8a9e-c15829bef51a</node></data>

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

2023-07-07 22:45:08 | [Mutex] waiting for: [received:nodes:174e06bb-290f-40e4-bba5-c1ad9addd2aa:localhost]

2023-07-07 22:45:08 | [Mutex] waiting for: [received:nodes:174e06bb-290f-40e4-bba5-c1ad9addd2aa:localhost]

2023-07-07 22:45:08 | [Mutex] waiting for: [received:nodes:174e06bb-290f-40e4-bba5-c1ad9addd2aa:localhost]

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

2023-07-07 22:45:08 | [Mutex] isItemNotified: received:node:174e06bb-290f-40e4-bba5-c1ad9addd2aa:localhost:node-d8154bbf-9d65-42d1-8a9e-c15829bef51a:Node d8154bbf-9d65-42d1-8a9e-c15829bef51a :: false

deleteSubnodes 1.173s
2023-07-07 22:45:05 |

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

2023-07-07 22:45:05 | ------------------------------------

2023-07-07 22:45:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node></data>

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

2023-07-07 22:45:07 | [Mutex] waiting for: [received:nodes:dcf13d63-b8e8-4640-b71b-4d5bcbbc9ce1:localhost]

2023-07-07 22:45:07 | [Mutex] waiting for: [received:nodes:dcf13d63-b8e8-4640-b71b-4d5bcbbc9ce1:localhost]

2023-07-07 22:45:07 | [Mutex] waiting for: [received:nodes:dcf13d63-b8e8-4640-b71b-4d5bcbbc9ce1:localhost]

2023-07-07 22:45:07 | [Mutex] waiting for: [received:nodes:dcf13d63-b8e8-4640-b71b-4d5bcbbc9ce1:localhost]

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

2023-07-07 22:45:07 | [Mutex] isItemNotified: received:node:dcf13d63-b8e8-4640-b71b-4d5bcbbc9ce1:localhost:node-f22f6e59-e27c-486d-8c59-857a23376491:Node f22f6e59-e27c-486d-8c59-857a23376491 :: false

2023-07-07 22:45:07 | [Mutex] waiting for: [received:nodes:60e24e2c-232d-4e9b-94b3-9dce9ace9922:localhost]

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

2023-07-07 22:45:07 | [Mutex] isItemNotified: received:node:60e24e2c-232d-4e9b-94b3-9dce9ace9922:localhost:node-f22f6e59-e27c-486d-8c59-857a23376491:Node f22f6e59-e27c-486d-8c59-857a23376491 :: false

publishItemsToNodes 0.276s
2023-07-07 22:45:03 |

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

2023-07-07 22:45:03 | ------------------------------------

2023-07-07 22:45:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node><item-id>item-b3241572-ab50-4b38-b0a5-19a4f5c99721</item-id><entry><test>item-b3241572-ab50-4b38-b0a5-19a4f5c99721</test></entry></data>

2023-07-07 22:45:04 | 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-b3241572-ab50-4b38-b0a5-19a4f5c99721</value></item-id></result>

2023-07-07 22:45:04 | [Mutex] waiting for: [published:item:notifieditem-b3241572-ab50-4b38-b0a5-19a4f5c99721:admin@test-domain.com]

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

2023-07-07 22:45:04 | [Mutex] isItemNotified: published:item:notifieditem-b3241572-ab50-4b38-b0a5-19a4f5c99721:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2023-07-07 22:45:04 |

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

2023-07-07 22:45:04 | ------------------------------------

2023-07-07 22:45:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node><item-id>item-b3241572-ab50-4b38-b0a5-19a4f5c99721</item-id></data>

2023-07-07 22:45:04 | 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-b3241572-ab50-4b38-b0a5-19a4f5c99721</value></item-id></result>

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

2023-07-07 22:45:04 | [Mutex] isItemNotified: retracted:item:notifieditem-b3241572-ab50-4b38-b0a5-19a4f5c99721:admin@test-domain.com :: true

retrieveItemsFromNodes 0.179s
2023-07-07 22:45:04 |

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

2023-07-07 22:45:04 | ------------------------------------

2023-07-07 22:45:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node><item-id>item-b3241572-ab50-4b38-b0a5-19a4f5c99721</item-id></data>

2023-07-07 22:45:04 | 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-f22f6e59-e27c-486d-8c59-857a23376491</value></node><item-id type="text-single" label="Item ID"><value>item-b3241572-ab50-4b38-b0a5-19a4f5c99721</value></item-id><item type="text-multi" label="Item"><value><item id="item-b3241572-ab50-4b38-b0a5-19a4f5c99721"><test>item-b3241572-ab50-4b38-b0a5-19a4f5c99721</test></item></value></item></result>

2023-07-07 22:45:04 | [Mutex] notify: [retrieved:item:item-b3241572-ab50-4b38-b0a5-19a4f5c99721:payload-matches:true:localhost]

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

2023-07-07 22:45:04 | [Mutex] isItemNotified: retrieved:item:item-b3241572-ab50-4b38-b0a5-19a4f5c99721:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2023-07-07 22:45:04 |

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

2023-07-07 22:45:04 | ------------------------------------

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

2023-07-07 22:45:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-f22f6e59-e27c-486d-8c59-857a23376491</value><value>test</value><value>node-d8154bbf-9d65-42d1-8a9e-c15829bef51a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-07 22:45:04 |

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

2023-07-07 22:45:04 | ------------------------------------

2023-07-07 22:45:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f22f6e59-e27c-486d-8c59-857a23376491)</node-pattern></data>

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

subscribeNodes 1.132s
2023-07-07 22:45:02 |

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

2023-07-07 22:45:02 | ------------------------------------

2023-07-07 22:45:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-07 22:45:02 | 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
2023-07-07 22:45:04 |

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

2023-07-07 22:45:04 | ------------------------------------

2023-07-07 22:45:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f22f6e59-e27c-486d-8c59-857a23376491</node><jids><value>admin@test-domain.com</value></jids></data>

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