Generated by TestNG with ReportNG at 22:18 PDT on Friday 01 July 2022
root@f9c07ffec79b / 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.546s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-07-01 22:33:02 |

2022-07-01 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:02 | ------------------------------------

2022-07-01 22:33:02 | [Mutex] waiting for: [configured:node:node-3f27e871-f22e-4357-a5c5-ab6423932c95:node-42a15868-b444-4523-a6e1-bbf81999cf81]

2022-07-01 22:33:02 | [Mutex] received everything.

2022-07-01 22:33:02 | [Mutex] isItemNotified: configured:node:node-3f27e871-f22e-4357-a5c5-ab6423932c95:node-42a15868-b444-4523-a6e1-bbf81999cf81 :: true

2022-07-01 22:33:03 | [Mutex] waiting for: [received:nodes:2e0bd05a-70de-4c74-bd34-7174828b1cb9:localhost]

2022-07-01 22:33:03 | [Mutex] received everything.

2022-07-01 22:33:03 | [Mutex] isItemNotified: received:node:2e0bd05a-70de-4c74-bd34-7174828b1cb9:localhost:node-3f27e871-f22e-4357-a5c5-ab6423932c95:Node 3f27e871-f22e-4357-a5c5-ab6423932c95 :: true

2022-07-01 22:33:03 | [Mutex] waiting for: [received:nodes:eee59295-64a0-4551-ad6b-29cf581353c7:localhost]

2022-07-01 22:33:03 | [Mutex] waiting for: [received:nodes:eee59295-64a0-4551-ad6b-29cf581353c7:localhost]

2022-07-01 22:33:03 | [Mutex] waiting for: [received:nodes:eee59295-64a0-4551-ad6b-29cf581353c7:localhost]

2022-07-01 22:33:03 | [Mutex] waiting for: [received:nodes:eee59295-64a0-4551-ad6b-29cf581353c7:localhost]

2022-07-01 22:33:03 | [Mutex] received everything.

2022-07-01 22:33:03 | [Mutex] isItemNotified: received:node:eee59295-64a0-4551-ad6b-29cf581353c7:localhost:node-3f27e871-f22e-4357-a5c5-ab6423932c95:Node 3f27e871-f22e-4357-a5c5-ab6423932c95 :: false

createNodes 1.460s
2022-07-01 22:33:00 |

2022-07-01 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:00 | ------------------------------------

2022-07-01 22:33:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3f27e871-f22e-4357-a5c5-ab6423932c95</title></pubsub></data>

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

2022-07-01 22:33:01 | [Mutex] waiting for: [received:nodes:4a1ae524-2562-4c10-b7e9-abdcd3a39a6e:localhost]

2022-07-01 22:33:01 | [Mutex] received everything.

2022-07-01 22:33:01 | [Mutex] isItemNotified: received:node:4a1ae524-2562-4c10-b7e9-abdcd3a39a6e:localhost:node-3f27e871-f22e-4357-a5c5-ab6423932c95:Node 3f27e871-f22e-4357-a5c5-ab6423932c95 :: true

createSubnodes 1.030s
2022-07-01 22:33:01 |

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

2022-07-01 22:33:01 | ------------------------------------

2022-07-01 22:33:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-42a15868-b444-4523-a6e1-bbf81999cf81</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 42a15868-b444-4523-a6e1-bbf81999cf81</title></pubsub></data>

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

2022-07-01 22:33:02 | [Mutex] waiting for: [received:nodes:7cd8b74d-459e-44af-b1df-a04f2949de0f:localhost]

2022-07-01 22:33:02 | [Mutex] waiting for: [received:nodes:7cd8b74d-459e-44af-b1df-a04f2949de0f:localhost]

2022-07-01 22:33:02 | [Mutex] received everything.

2022-07-01 22:33:02 | [Mutex] isItemNotified: received:node:7cd8b74d-459e-44af-b1df-a04f2949de0f:localhost:node-42a15868-b444-4523-a6e1-bbf81999cf81:Node 42a15868-b444-4523-a6e1-bbf81999cf81 :: true

deleteNodes 1.016s
2022-07-01 22:33:07 |

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

2022-07-01 22:33:07 | ------------------------------------

2022-07-01 22:33:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-42a15868-b444-4523-a6e1-bbf81999cf81</node></data>

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

2022-07-01 22:33:08 | [Mutex] waiting for: [received:nodes:05d1e219-d791-4b15-8003-cabdfa791850:localhost]

2022-07-01 22:33:08 | [Mutex] waiting for: [received:nodes:05d1e219-d791-4b15-8003-cabdfa791850:localhost]

2022-07-01 22:33:08 | [Mutex] received everything.

2022-07-01 22:33:08 | [Mutex] isItemNotified: received:node:05d1e219-d791-4b15-8003-cabdfa791850:localhost:node-42a15868-b444-4523-a6e1-bbf81999cf81:Node 42a15868-b444-4523-a6e1-bbf81999cf81 :: false

deleteSubnodes 1.132s
2022-07-01 22:33:06 |

2022-07-01 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:06 | ------------------------------------

2022-07-01 22:33:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node></data>

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

2022-07-01 22:33:07 | [Mutex] waiting for: [received:nodes:b0fbc5b5-fedb-4f08-9cfd-9949a5e943a9:localhost]

2022-07-01 22:33:07 | [Mutex] received everything.

2022-07-01 22:33:07 | [Mutex] isItemNotified: received:node:b0fbc5b5-fedb-4f08-9cfd-9949a5e943a9:localhost:node-3f27e871-f22e-4357-a5c5-ab6423932c95:Node 3f27e871-f22e-4357-a5c5-ab6423932c95 :: false

2022-07-01 22:33:07 | [Mutex] waiting for: [received:nodes:4f260f22-d571-4a3e-944c-e0596478f338:localhost]

2022-07-01 22:33:07 | [Mutex] received everything.

2022-07-01 22:33:07 | [Mutex] isItemNotified: received:node:4f260f22-d571-4a3e-944c-e0596478f338:localhost:node-3f27e871-f22e-4357-a5c5-ab6423932c95:Node 3f27e871-f22e-4357-a5c5-ab6423932c95 :: false

publishItemsToNodes 0.194s
2022-07-01 22:33:04 |

2022-07-01 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:04 | ------------------------------------

2022-07-01 22:33:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node><item-id>item-e8b812bf-ad1e-443e-9591-53b43e5e55f9</item-id><entry><test>item-e8b812bf-ad1e-443e-9591-53b43e5e55f9</test></entry></data>

2022-07-01 22:33:05 | 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-e8b812bf-ad1e-443e-9591-53b43e5e55f9</value></item-id></result>

2022-07-01 22:33:05 | [Mutex] received everything.

2022-07-01 22:33:05 | [Mutex] isItemNotified: published:item:notifieditem-e8b812bf-ad1e-443e-9591-53b43e5e55f9:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2022-07-01 22:33:05 |

2022-07-01 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:05 | ------------------------------------

2022-07-01 22:33:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node><item-id>item-e8b812bf-ad1e-443e-9591-53b43e5e55f9</item-id></data>

2022-07-01 22:33:05 | 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-e8b812bf-ad1e-443e-9591-53b43e5e55f9</value></item-id></result>

2022-07-01 22:33:05 | [Mutex] waiting for: [retracted:item:notifieditem-e8b812bf-ad1e-443e-9591-53b43e5e55f9:admin@test-domain.com]

2022-07-01 22:33:05 | [Mutex] received everything.

2022-07-01 22:33:05 | [Mutex] isItemNotified: retracted:item:notifieditem-e8b812bf-ad1e-443e-9591-53b43e5e55f9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.204s
2022-07-01 22:33:05 |

2022-07-01 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:05 | ------------------------------------

2022-07-01 22:33:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node><item-id>item-e8b812bf-ad1e-443e-9591-53b43e5e55f9</item-id></data>

2022-07-01 22:33:05 | 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-3f27e871-f22e-4357-a5c5-ab6423932c95</value></node><item-id type="text-single" label="Item ID"><value>item-e8b812bf-ad1e-443e-9591-53b43e5e55f9</value></item-id><item type="text-multi" label="Item"><value><item id="item-e8b812bf-ad1e-443e-9591-53b43e5e55f9"><test>item-e8b812bf-ad1e-443e-9591-53b43e5e55f9</test></item></value></item></result>

2022-07-01 22:33:05 | [Mutex] notify: [retrieved:item:item-e8b812bf-ad1e-443e-9591-53b43e5e55f9:payload-matches:true:localhost]

2022-07-01 22:33:05 | [Mutex] received everything.

2022-07-01 22:33:05 | [Mutex] isItemNotified: retrieved:item:item-e8b812bf-ad1e-443e-9591-53b43e5e55f9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-01 22:33:05 |

2022-07-01 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:05 | ------------------------------------

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

2022-07-01 22:33:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-3f27e871-f22e-4357-a5c5-ab6423932c95</value><value>node-42a15868-b444-4523-a6e1-bbf81999cf81</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-01 22:33:05 |

2022-07-01 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:05 | ------------------------------------

2022-07-01 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3f27e871-f22e-4357-a5c5-ab6423932c95)</node-pattern></data>

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

subscribeNodes 1.108s
2022-07-01 22:33:03 |

2022-07-01 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:03 | ------------------------------------

2022-07-01 22:33:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-01 22:33:03 | 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
2022-07-01 22:33:05 |

2022-07-01 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-01 22:33:05 | ------------------------------------

2022-07-01 22:33:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3f27e871-f22e-4357-a5c5-ab6423932c95</node><jids><value>admin@test-domain.com</value></jids></data>

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