Generated by TestNG with ReportNG at 22:16 PDT on Wednesday 24 May 2023
root@cc7d7fbb25f7 / 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.496s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2023-05-24 22:31:00 |

2023-05-24 22:31:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:00 | ------------------------------------

2023-05-24 22:31:00 | [Mutex] waiting for: [configured:node:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:node-f56df916-4d20-4475-8871-169e31757467]

2023-05-24 22:31:00 | [Mutex] received everything.

2023-05-24 22:31:00 | [Mutex] isItemNotified: configured:node:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:node-f56df916-4d20-4475-8871-169e31757467 :: true

2023-05-24 22:31:01 | [Mutex] waiting for: [received:nodes:d6cef9de-e753-40d8-aabe-abf7c4c0a87b:localhost]

2023-05-24 22:31:01 | [Mutex] received everything.

2023-05-24 22:31:01 | [Mutex] isItemNotified: received:node:d6cef9de-e753-40d8-aabe-abf7c4c0a87b:localhost:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:Node 39bf19b1-e580-4cd0-9e3a-75a1bb975b06 :: true

2023-05-24 22:31:01 | [Mutex] waiting for: [received:nodes:e593d718-984c-4aa6-9fb2-e4b4d29aa7d8:localhost]

2023-05-24 22:31:01 | [Mutex] waiting for: [received:nodes:e593d718-984c-4aa6-9fb2-e4b4d29aa7d8:localhost]

2023-05-24 22:31:01 | [Mutex] waiting for: [received:nodes:e593d718-984c-4aa6-9fb2-e4b4d29aa7d8:localhost]

2023-05-24 22:31:01 | [Mutex] received everything.

2023-05-24 22:31:01 | [Mutex] isItemNotified: received:node:e593d718-984c-4aa6-9fb2-e4b4d29aa7d8:localhost:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:Node 39bf19b1-e580-4cd0-9e3a-75a1bb975b06 :: false

createNodes 1.489s
2023-05-24 22:30:58 |

2023-05-24 22:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:30:58 | ------------------------------------

2023-05-24 22:30:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 39bf19b1-e580-4cd0-9e3a-75a1bb975b06</title></pubsub></data>

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

2023-05-24 22:30:59 | [Mutex] waiting for: [received:nodes:c05f98af-dce4-41ed-b25d-d4a0be3b0940:localhost]

2023-05-24 22:30:59 | [Mutex] waiting for: [received:nodes:c05f98af-dce4-41ed-b25d-d4a0be3b0940:localhost]

2023-05-24 22:30:59 | [Mutex] waiting for: [received:nodes:c05f98af-dce4-41ed-b25d-d4a0be3b0940:localhost]

2023-05-24 22:30:59 | [Mutex] received everything.

2023-05-24 22:30:59 | [Mutex] isItemNotified: received:node:c05f98af-dce4-41ed-b25d-d4a0be3b0940:localhost:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:Node 39bf19b1-e580-4cd0-9e3a-75a1bb975b06 :: true

createSubnodes 1.039s
2023-05-24 22:30:59 |

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

2023-05-24 22:30:59 | ------------------------------------

2023-05-24 22:30:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f56df916-4d20-4475-8871-169e31757467</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f56df916-4d20-4475-8871-169e31757467</title></pubsub></data>

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

2023-05-24 22:31:00 | [Mutex] waiting for: [received:nodes:916c30d5-bc9a-47ab-b972-576d1b9d55c4:localhost]

2023-05-24 22:31:00 | [Mutex] waiting for: [received:nodes:916c30d5-bc9a-47ab-b972-576d1b9d55c4:localhost]

2023-05-24 22:31:00 | [Mutex] waiting for: [received:nodes:916c30d5-bc9a-47ab-b972-576d1b9d55c4:localhost]

2023-05-24 22:31:00 | [Mutex] waiting for: [received:nodes:916c30d5-bc9a-47ab-b972-576d1b9d55c4:localhost]

2023-05-24 22:31:00 | [Mutex] received everything.

2023-05-24 22:31:00 | [Mutex] isItemNotified: received:node:916c30d5-bc9a-47ab-b972-576d1b9d55c4:localhost:node-f56df916-4d20-4475-8871-169e31757467:Node f56df916-4d20-4475-8871-169e31757467 :: true

deleteNodes 1.017s
2023-05-24 22:31:06 |

2023-05-24 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:06 | ------------------------------------

2023-05-24 22:31:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f56df916-4d20-4475-8871-169e31757467</node></data>

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

2023-05-24 22:31:07 | [Mutex] waiting for: [received:nodes:868ab6c1-c65d-45b9-bf1b-08a5927fdd32:localhost]

2023-05-24 22:31:07 | [Mutex] waiting for: [received:nodes:868ab6c1-c65d-45b9-bf1b-08a5927fdd32:localhost]

2023-05-24 22:31:07 | [Mutex] waiting for: [received:nodes:868ab6c1-c65d-45b9-bf1b-08a5927fdd32:localhost]

2023-05-24 22:31:07 | [Mutex] received everything.

2023-05-24 22:31:07 | [Mutex] isItemNotified: received:node:868ab6c1-c65d-45b9-bf1b-08a5927fdd32:localhost:node-f56df916-4d20-4475-8871-169e31757467:Node f56df916-4d20-4475-8871-169e31757467 :: false

deleteSubnodes 1.131s
2023-05-24 22:31:04 |

2023-05-24 22:31:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:04 | ------------------------------------

2023-05-24 22:31:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node></data>

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

2023-05-24 22:31:06 | [Mutex] waiting for: [received:nodes:4d01d865-f2bd-40e8-a259-7e8f26cd906f:localhost]

2023-05-24 22:31:06 | [Mutex] waiting for: [received:nodes:4d01d865-f2bd-40e8-a259-7e8f26cd906f:localhost]

2023-05-24 22:31:06 | [Mutex] waiting for: [received:nodes:4d01d865-f2bd-40e8-a259-7e8f26cd906f:localhost]

2023-05-24 22:31:06 | [Mutex] received everything.

2023-05-24 22:31:06 | [Mutex] isItemNotified: received:node:4d01d865-f2bd-40e8-a259-7e8f26cd906f:localhost:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:Node 39bf19b1-e580-4cd0-9e3a-75a1bb975b06 :: false

2023-05-24 22:31:06 | [Mutex] waiting for: [received:nodes:bd36d1e6-c50e-4ef4-9170-2e20c54d0fb7:localhost]

2023-05-24 22:31:06 | [Mutex] received everything.

2023-05-24 22:31:06 | [Mutex] isItemNotified: received:node:bd36d1e6-c50e-4ef4-9170-2e20c54d0fb7:localhost:node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06:Node 39bf19b1-e580-4cd0-9e3a-75a1bb975b06 :: false

publishItemsToNodes 0.199s
2023-05-24 22:31:03 |

2023-05-24 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:03 | ------------------------------------

2023-05-24 22:31:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node><item-id>item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</item-id><entry><test>item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</test></entry></data>

2023-05-24 22:31:03 | 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-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</value></item-id></result>

2023-05-24 22:31:03 | [Mutex] waiting for: [published:item:notifieditem-169c4c15-8c13-4312-bcfa-e1f4b9605f7b:admin@test-domain.com]

2023-05-24 22:31:03 | [Mutex] received everything.

2023-05-24 22:31:03 | [Mutex] isItemNotified: published:item:notifieditem-169c4c15-8c13-4312-bcfa-e1f4b9605f7b:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2023-05-24 22:31:03 |

2023-05-24 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:03 | ------------------------------------

2023-05-24 22:31:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node><item-id>item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</item-id></data>

2023-05-24 22:31:03 | 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-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</value></item-id></result>

2023-05-24 22:31:03 | [Mutex] received everything.

2023-05-24 22:31:03 | [Mutex] isItemNotified: retracted:item:notifieditem-169c4c15-8c13-4312-bcfa-e1f4b9605f7b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.159s
2023-05-24 22:31:03 |

2023-05-24 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:03 | ------------------------------------

2023-05-24 22:31:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node><item-id>item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</item-id></data>

2023-05-24 22:31:03 | 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-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</value></node><item-id type="text-single" label="Item ID"><value>item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</value></item-id><item type="text-multi" label="Item"><value><item id="item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b"><test>item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b</test></item></value></item></result>

2023-05-24 22:31:03 | [Mutex] notify: [retrieved:item:item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b:payload-matches:true:localhost]

2023-05-24 22:31:03 | [Mutex] received everything.

2023-05-24 22:31:03 | [Mutex] isItemNotified: retrieved:item:item-169c4c15-8c13-4312-bcfa-e1f4b9605f7b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-05-24 22:31:03 |

2023-05-24 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:03 | ------------------------------------

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

2023-05-24 22:31:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-f56df916-4d20-4475-8871-169e31757467</value><value>test</value><value>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.051s
2023-05-24 22:31:03 |

2023-05-24 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:03 | ------------------------------------

2023-05-24 22:31:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06)</node-pattern></data>

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

subscribeNodes 1.159s
2023-05-24 22:31:01 |

2023-05-24 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:01 | ------------------------------------

2023-05-24 22:31:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node><jids><value>admin@test-domain.com</value></jids></data>

2023-05-24 22:31: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.199s
2023-05-24 22:31:03 |

2023-05-24 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-05-24 22:31:03 | ------------------------------------

2023-05-24 22:31:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-39bf19b1-e580-4cd0-9e3a-75a1bb975b06</node><jids><value>admin@test-domain.com</value></jids></data>

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