Generated by TestNG with ReportNG at 07:34 PST on Monday 06 March 2023
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.364s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2023-03-06 07:49:06 |

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

2023-03-06 07:49:06 | ------------------------------------

2023-03-06 07:49:06 | [Mutex] waiting for: [configured:node:node-720a8b4d-1b59-491e-ab77-b5657c87e715:node-5515e225-952b-4ba1-88c8-2522eb959cdd]

2023-03-06 07:49:06 | [Mutex] received everything.

2023-03-06 07:49:06 | [Mutex] isItemNotified: configured:node:node-720a8b4d-1b59-491e-ab77-b5657c87e715:node-5515e225-952b-4ba1-88c8-2522eb959cdd :: true

2023-03-06 07:49:07 | [Mutex] waiting for: [received:nodes:067f0547-e744-4661-87d6-92a6ba969eef:localhost]

2023-03-06 07:49:07 | [Mutex] received everything.

2023-03-06 07:49:07 | [Mutex] isItemNotified: received:node:067f0547-e744-4661-87d6-92a6ba969eef:localhost:node-720a8b4d-1b59-491e-ab77-b5657c87e715:Node 720a8b4d-1b59-491e-ab77-b5657c87e715 :: true

2023-03-06 07:49:07 | [Mutex] waiting for: [received:nodes:7fc26bc0-6866-488f-b6e6-a6c798184c15:localhost]

2023-03-06 07:49:07 | [Mutex] waiting for: [received:nodes:7fc26bc0-6866-488f-b6e6-a6c798184c15:localhost]

2023-03-06 07:49:07 | [Mutex] waiting for: [received:nodes:7fc26bc0-6866-488f-b6e6-a6c798184c15:localhost]

2023-03-06 07:49:07 | [Mutex] waiting for: [received:nodes:7fc26bc0-6866-488f-b6e6-a6c798184c15:localhost]

2023-03-06 07:49:07 | [Mutex] received everything.

2023-03-06 07:49:07 | [Mutex] isItemNotified: received:node:7fc26bc0-6866-488f-b6e6-a6c798184c15:localhost:node-720a8b4d-1b59-491e-ab77-b5657c87e715:Node 720a8b4d-1b59-491e-ab77-b5657c87e715 :: false

createNodes 1.375s
2023-03-06 07:49:04 |

2023-03-06 07:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:04 | ------------------------------------

2023-03-06 07:49:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 720a8b4d-1b59-491e-ab77-b5657c87e715</title></pubsub></data>

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

2023-03-06 07:49:05 | [Mutex] waiting for: [received:nodes:6f8f24c3-bbf2-4603-b5ac-7bee0561550e:localhost]

2023-03-06 07:49:05 | [Mutex] waiting for: [received:nodes:6f8f24c3-bbf2-4603-b5ac-7bee0561550e:localhost]

2023-03-06 07:49:05 | [Mutex] received everything.

2023-03-06 07:49:05 | [Mutex] isItemNotified: received:node:6f8f24c3-bbf2-4603-b5ac-7bee0561550e:localhost:node-720a8b4d-1b59-491e-ab77-b5657c87e715:Node 720a8b4d-1b59-491e-ab77-b5657c87e715 :: true

createSubnodes 1.036s
2023-03-06 07:49:05 |

2023-03-06 07:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:05 | ------------------------------------

2023-03-06 07:49:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5515e225-952b-4ba1-88c8-2522eb959cdd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5515e225-952b-4ba1-88c8-2522eb959cdd</title></pubsub></data>

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

2023-03-06 07:49:06 | [Mutex] waiting for: [received:nodes:06991cbd-e3f6-437b-a100-e58a2fa3d4d8:localhost]

2023-03-06 07:49:06 | [Mutex] waiting for: [received:nodes:06991cbd-e3f6-437b-a100-e58a2fa3d4d8:localhost]

2023-03-06 07:49:06 | [Mutex] waiting for: [received:nodes:06991cbd-e3f6-437b-a100-e58a2fa3d4d8:localhost]

2023-03-06 07:49:06 | [Mutex] waiting for: [received:nodes:06991cbd-e3f6-437b-a100-e58a2fa3d4d8:localhost]

2023-03-06 07:49:06 | [Mutex] received everything.

2023-03-06 07:49:06 | [Mutex] isItemNotified: received:node:06991cbd-e3f6-437b-a100-e58a2fa3d4d8:localhost:node-5515e225-952b-4ba1-88c8-2522eb959cdd:Node 5515e225-952b-4ba1-88c8-2522eb959cdd :: true

deleteNodes 1.027s
2023-03-06 07:49:12 |

2023-03-06 07:49:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:12 | ------------------------------------

2023-03-06 07:49:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5515e225-952b-4ba1-88c8-2522eb959cdd</node></data>

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

2023-03-06 07:49:13 | [Mutex] waiting for: [received:nodes:e67f86d9-c226-4702-8b55-8d335f98bd6c:localhost]

2023-03-06 07:49:13 | [Mutex] waiting for: [received:nodes:e67f86d9-c226-4702-8b55-8d335f98bd6c:localhost]

2023-03-06 07:49:13 | [Mutex] waiting for: [received:nodes:e67f86d9-c226-4702-8b55-8d335f98bd6c:localhost]

2023-03-06 07:49:13 | [Mutex] received everything.

2023-03-06 07:49:13 | [Mutex] isItemNotified: received:node:e67f86d9-c226-4702-8b55-8d335f98bd6c:localhost:node-5515e225-952b-4ba1-88c8-2522eb959cdd:Node 5515e225-952b-4ba1-88c8-2522eb959cdd :: false

deleteSubnodes 1.125s
2023-03-06 07:49:11 |

2023-03-06 07:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:11 | ------------------------------------

2023-03-06 07:49:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node></data>

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

2023-03-06 07:49:12 | [Mutex] waiting for: [received:nodes:80b5d98c-b27b-4c3c-b840-4e4f10f465db:localhost]

2023-03-06 07:49:12 | [Mutex] waiting for: [received:nodes:80b5d98c-b27b-4c3c-b840-4e4f10f465db:localhost]

2023-03-06 07:49:12 | [Mutex] waiting for: [received:nodes:80b5d98c-b27b-4c3c-b840-4e4f10f465db:localhost]

2023-03-06 07:49:12 | [Mutex] waiting for: [received:nodes:80b5d98c-b27b-4c3c-b840-4e4f10f465db:localhost]

2023-03-06 07:49:12 | [Mutex] received everything.

2023-03-06 07:49:12 | [Mutex] isItemNotified: received:node:80b5d98c-b27b-4c3c-b840-4e4f10f465db:localhost:node-720a8b4d-1b59-491e-ab77-b5657c87e715:Node 720a8b4d-1b59-491e-ab77-b5657c87e715 :: false

2023-03-06 07:49:12 | [Mutex] waiting for: [received:nodes:f27c8277-02e9-4c2a-a763-1d177ec11e1b:localhost]

2023-03-06 07:49:12 | [Mutex] received everything.

2023-03-06 07:49:12 | [Mutex] isItemNotified: received:node:f27c8277-02e9-4c2a-a763-1d177ec11e1b:localhost:node-720a8b4d-1b59-491e-ab77-b5657c87e715:Node 720a8b4d-1b59-491e-ab77-b5657c87e715 :: false

publishItemsToNodes 0.216s
2023-03-06 07:49:09 |

2023-03-06 07:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:09 | ------------------------------------

2023-03-06 07:49:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node><item-id>item-29dda47d-a10a-431c-a79c-b07d44c5d4a2</item-id><entry><test>item-29dda47d-a10a-431c-a79c-b07d44c5d4a2</test></entry></data>

2023-03-06 07:49:09 | 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-29dda47d-a10a-431c-a79c-b07d44c5d4a2</value></item-id></result>

2023-03-06 07:49:09 | [Mutex] received everything.

2023-03-06 07:49:09 | [Mutex] isItemNotified: published:item:notifieditem-29dda47d-a10a-431c-a79c-b07d44c5d4a2:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2023-03-06 07:49:09 |

2023-03-06 07:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:09 | ------------------------------------

2023-03-06 07:49:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node><item-id>item-29dda47d-a10a-431c-a79c-b07d44c5d4a2</item-id></data>

2023-03-06 07:49:09 | 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-29dda47d-a10a-431c-a79c-b07d44c5d4a2</value></item-id></result>

2023-03-06 07:49:09 | [Mutex] received everything.

2023-03-06 07:49:09 | [Mutex] isItemNotified: retracted:item:notifieditem-29dda47d-a10a-431c-a79c-b07d44c5d4a2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2023-03-06 07:49:09 |

2023-03-06 07:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:09 | ------------------------------------

2023-03-06 07:49:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node><item-id>item-29dda47d-a10a-431c-a79c-b07d44c5d4a2</item-id></data>

2023-03-06 07:49:09 | 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-720a8b4d-1b59-491e-ab77-b5657c87e715</value></node><item-id label="Item ID" type="text-single"><value>item-29dda47d-a10a-431c-a79c-b07d44c5d4a2</value></item-id><item label="Item" type="text-multi"><value><item id="item-29dda47d-a10a-431c-a79c-b07d44c5d4a2"><test>item-29dda47d-a10a-431c-a79c-b07d44c5d4a2</test></item></value></item></result>

2023-03-06 07:49:09 | [Mutex] notify: [retrieved:item:item-29dda47d-a10a-431c-a79c-b07d44c5d4a2:payload-matches:true:localhost]

2023-03-06 07:49:09 | [Mutex] received everything.

2023-03-06 07:49:09 | [Mutex] isItemNotified: retrieved:item:item-29dda47d-a10a-431c-a79c-b07d44c5d4a2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-06 07:49:09 |

2023-03-06 07:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:09 | ------------------------------------

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

2023-03-06 07:49:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-5515e225-952b-4ba1-88c8-2522eb959cdd</value><value>test</value><value>node-720a8b4d-1b59-491e-ab77-b5657c87e715</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-06 07:49:09 |

2023-03-06 07:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:09 | ------------------------------------

2023-03-06 07:49:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-720a8b4d-1b59-491e-ab77-b5657c87e715)</node-pattern></data>

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

subscribeNodes 1.110s
2023-03-06 07:49:07 |

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

2023-03-06 07:49:07 | ------------------------------------

2023-03-06 07:49:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.195s
2023-03-06 07:49:09 |

2023-03-06 07:49:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-06 07:49:09 | ------------------------------------

2023-03-06 07:49:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-720a8b4d-1b59-491e-ab77-b5657c87e715</node><jids><value>admin@test-domain.com</value></jids></data>

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