Generated by TestNG with ReportNG at 22:45 PDT on Wednesday 25 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.445s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2023-10-25 22:59:27 |

2023-10-25 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:27 | ------------------------------------

2023-10-25 22:59:27 | [Mutex] waiting for: [configured:node:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:node-0ecd152c-e02b-4432-91b4-51db8d5f2f83]

2023-10-25 22:59:27 | [Mutex] received everything.

2023-10-25 22:59:27 | [Mutex] isItemNotified: configured:node:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:node-0ecd152c-e02b-4432-91b4-51db8d5f2f83 :: true

2023-10-25 22:59:28 | [Mutex] waiting for: [received:nodes:927b27d3-d4fd-465f-8bbc-c884943c10ee:localhost]

2023-10-25 22:59:28 | [Mutex] received everything.

2023-10-25 22:59:28 | [Mutex] isItemNotified: received:node:927b27d3-d4fd-465f-8bbc-c884943c10ee:localhost:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:Node badd0f0f-4c0f-4e49-bdd7-0bdf3e185507 :: true

2023-10-25 22:59:28 | [Mutex] waiting for: [received:nodes:e58a5eac-ba84-4d65-8dea-ecc995c82717:localhost]

2023-10-25 22:59:28 | [Mutex] waiting for: [received:nodes:e58a5eac-ba84-4d65-8dea-ecc995c82717:localhost]

2023-10-25 22:59:28 | [Mutex] waiting for: [received:nodes:e58a5eac-ba84-4d65-8dea-ecc995c82717:localhost]

2023-10-25 22:59:28 | [Mutex] waiting for: [received:nodes:e58a5eac-ba84-4d65-8dea-ecc995c82717:localhost]

2023-10-25 22:59:28 | [Mutex] received everything.

2023-10-25 22:59:28 | [Mutex] isItemNotified: received:node:e58a5eac-ba84-4d65-8dea-ecc995c82717:localhost:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:Node badd0f0f-4c0f-4e49-bdd7-0bdf3e185507 :: false

createNodes 1.441s
2023-10-25 22:59:24 |

2023-10-25 22:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:24 | ------------------------------------

2023-10-25 22:59:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</title></pubsub></data>

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

2023-10-25 22:59:26 | [Mutex] waiting for: [received:nodes:2971daeb-4bf9-4863-bc47-0fe7d16e02f4:localhost]

2023-10-25 22:59:26 | [Mutex] waiting for: [received:nodes:2971daeb-4bf9-4863-bc47-0fe7d16e02f4:localhost]

2023-10-25 22:59:26 | [Mutex] waiting for: [received:nodes:2971daeb-4bf9-4863-bc47-0fe7d16e02f4:localhost]

2023-10-25 22:59:26 | [Mutex] received everything.

2023-10-25 22:59:26 | [Mutex] isItemNotified: received:node:2971daeb-4bf9-4863-bc47-0fe7d16e02f4:localhost:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:Node badd0f0f-4c0f-4e49-bdd7-0bdf3e185507 :: true

createSubnodes 1.021s
2023-10-25 22:59:26 |

2023-10-25 22:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:26 | ------------------------------------

2023-10-25 22:59:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0ecd152c-e02b-4432-91b4-51db8d5f2f83</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0ecd152c-e02b-4432-91b4-51db8d5f2f83</title></pubsub></data>

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

2023-10-25 22:59:27 | [Mutex] waiting for: [received:nodes:cd7f4835-b2d4-4aff-98ee-0e9478efff67:localhost]

2023-10-25 22:59:27 | [Mutex] waiting for: [received:nodes:cd7f4835-b2d4-4aff-98ee-0e9478efff67:localhost]

2023-10-25 22:59:27 | [Mutex] waiting for: [received:nodes:cd7f4835-b2d4-4aff-98ee-0e9478efff67:localhost]

2023-10-25 22:59:27 | [Mutex] waiting for: [received:nodes:cd7f4835-b2d4-4aff-98ee-0e9478efff67:localhost]

2023-10-25 22:59:27 | [Mutex] waiting for: [received:nodes:cd7f4835-b2d4-4aff-98ee-0e9478efff67:localhost]

2023-10-25 22:59:27 | [Mutex] received everything.

2023-10-25 22:59:27 | [Mutex] isItemNotified: received:node:cd7f4835-b2d4-4aff-98ee-0e9478efff67:localhost:node-0ecd152c-e02b-4432-91b4-51db8d5f2f83:Node 0ecd152c-e02b-4432-91b4-51db8d5f2f83 :: true

deleteNodes 1.056s
2023-10-25 22:59:32 |

2023-10-25 22:59:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:32 | ------------------------------------

2023-10-25 22:59:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0ecd152c-e02b-4432-91b4-51db8d5f2f83</node></data>

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

2023-10-25 22:59:33 | [Mutex] waiting for: [received:nodes:0cc43fa5-1c66-49be-b646-483e63c5c6ca:localhost]

2023-10-25 22:59:33 | [Mutex] waiting for: [received:nodes:0cc43fa5-1c66-49be-b646-483e63c5c6ca:localhost]

2023-10-25 22:59:33 | [Mutex] waiting for: [received:nodes:0cc43fa5-1c66-49be-b646-483e63c5c6ca:localhost]

2023-10-25 22:59:33 | [Mutex] received everything.

2023-10-25 22:59:33 | [Mutex] isItemNotified: received:node:0cc43fa5-1c66-49be-b646-483e63c5c6ca:localhost:node-0ecd152c-e02b-4432-91b4-51db8d5f2f83:Node 0ecd152c-e02b-4432-91b4-51db8d5f2f83 :: false

deleteSubnodes 1.103s
2023-10-25 22:59:31 |

2023-10-25 22:59:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:31 | ------------------------------------

2023-10-25 22:59:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node></data>

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

2023-10-25 22:59:32 | [Mutex] waiting for: [received:nodes:8be5bdec-3f51-45ef-a32d-5cf5f38703b5:localhost]

2023-10-25 22:59:32 | [Mutex] waiting for: [received:nodes:8be5bdec-3f51-45ef-a32d-5cf5f38703b5:localhost]

2023-10-25 22:59:32 | [Mutex] waiting for: [received:nodes:8be5bdec-3f51-45ef-a32d-5cf5f38703b5:localhost]

2023-10-25 22:59:32 | [Mutex] waiting for: [received:nodes:8be5bdec-3f51-45ef-a32d-5cf5f38703b5:localhost]

2023-10-25 22:59:32 | [Mutex] received everything.

2023-10-25 22:59:32 | [Mutex] isItemNotified: received:node:8be5bdec-3f51-45ef-a32d-5cf5f38703b5:localhost:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:Node badd0f0f-4c0f-4e49-bdd7-0bdf3e185507 :: false

2023-10-25 22:59:32 | [Mutex] waiting for: [received:nodes:f3f94d86-0c98-4f85-96ca-859614b48d53:localhost]

2023-10-25 22:59:32 | [Mutex] received everything.

2023-10-25 22:59:32 | [Mutex] isItemNotified: received:node:f3f94d86-0c98-4f85-96ca-859614b48d53:localhost:node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507:Node badd0f0f-4c0f-4e49-bdd7-0bdf3e185507 :: false

publishItemsToNodes 0.256s
2023-10-25 22:59:29 |

2023-10-25 22:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:29 | ------------------------------------

2023-10-25 22:59:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node><item-id>item-183ff8bd-756f-4302-9f10-d286a81a8309</item-id><entry><test>item-183ff8bd-756f-4302-9f10-d286a81a8309</test></entry></data>

2023-10-25 22:59:29 | 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-183ff8bd-756f-4302-9f10-d286a81a8309</value></item-id></result>

2023-10-25 22:59:29 | [Mutex] received everything.

2023-10-25 22:59:29 | [Mutex] isItemNotified: published:item:notifieditem-183ff8bd-756f-4302-9f10-d286a81a8309:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2023-10-25 22:59:30 |

2023-10-25 22:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:30 | ------------------------------------

2023-10-25 22:59:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node><item-id>item-183ff8bd-756f-4302-9f10-d286a81a8309</item-id></data>

2023-10-25 22:59:30 | 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-183ff8bd-756f-4302-9f10-d286a81a8309</value></item-id></result>

2023-10-25 22:59:30 | [Mutex] received everything.

2023-10-25 22:59:30 | [Mutex] isItemNotified: retracted:item:notifieditem-183ff8bd-756f-4302-9f10-d286a81a8309:admin@test-domain.com :: true

retrieveItemsFromNodes 0.215s
2023-10-25 22:59:29 |

2023-10-25 22:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:29 | ------------------------------------

2023-10-25 22:59:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node><item-id>item-183ff8bd-756f-4302-9f10-d286a81a8309</item-id></data>

2023-10-25 22:59:29 | 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-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</value></node><item-id type="text-single" label="Item ID"><value>item-183ff8bd-756f-4302-9f10-d286a81a8309</value></item-id><item type="text-multi" label="Item"><value><item id="item-183ff8bd-756f-4302-9f10-d286a81a8309"><test>item-183ff8bd-756f-4302-9f10-d286a81a8309</test></item></value></item></result>

2023-10-25 22:59:29 | [Mutex] notify: [retrieved:item:item-183ff8bd-756f-4302-9f10-d286a81a8309:payload-matches:true:localhost]

2023-10-25 22:59:29 | [Mutex] received everything.

2023-10-25 22:59:29 | [Mutex] isItemNotified: retrieved:item:item-183ff8bd-756f-4302-9f10-d286a81a8309:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-10-25 22:59:29 |

2023-10-25 22:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:29 | ------------------------------------

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

2023-10-25 22:59:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-0ecd152c-e02b-4432-91b4-51db8d5f2f83</value><value>test</value><value>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-10-25 22:59:30 |

2023-10-25 22:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:30 | ------------------------------------

2023-10-25 22:59:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507)</node-pattern></data>

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

subscribeNodes 1.131s
2023-10-25 22:59:28 |

2023-10-25 22:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:28 | ------------------------------------

2023-10-25 22:59:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.167s
2023-10-25 22:59:30 |

2023-10-25 22:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-10-25 22:59:30 | ------------------------------------

2023-10-25 22:59:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-badd0f0f-4c0f-4e49-bdd7-0bdf3e185507</node><jids><value>admin@test-domain.com</value></jids></data>

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