Generated by TestNG with ReportNG at 21:15 PST on Wednesday 28 December 2022
root@ed1b7dd8a1b3 / 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.390s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-12-28 21:31:03 |

2022-12-28 21:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:03 | ------------------------------------

2022-12-28 21:31:03 | [Mutex] waiting for: [configured:node:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:node-d969c09b-948a-4024-94b5-bcbb45e258f5]

2022-12-28 21:31:03 | [Mutex] received everything.

2022-12-28 21:31:03 | [Mutex] isItemNotified: configured:node:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:node-d969c09b-948a-4024-94b5-bcbb45e258f5 :: true

2022-12-28 21:31:04 | [Mutex] waiting for: [received:nodes:03a875c8-83a1-4132-9a1b-1a349ab9adae:localhost]

2022-12-28 21:31:04 | [Mutex] received everything.

2022-12-28 21:31:04 | [Mutex] isItemNotified: received:node:03a875c8-83a1-4132-9a1b-1a349ab9adae:localhost:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:Node b1b1064c-7e82-4dea-9cb6-2100bdda13d8 :: true

2022-12-28 21:31:04 | [Mutex] waiting for: [received:nodes:59b5b857-6118-4ab5-b904-f1760d15f985:localhost]

2022-12-28 21:31:04 | [Mutex] waiting for: [received:nodes:59b5b857-6118-4ab5-b904-f1760d15f985:localhost]

2022-12-28 21:31:04 | [Mutex] waiting for: [received:nodes:59b5b857-6118-4ab5-b904-f1760d15f985:localhost]

2022-12-28 21:31:04 | [Mutex] waiting for: [received:nodes:59b5b857-6118-4ab5-b904-f1760d15f985:localhost]

2022-12-28 21:31:04 | [Mutex] received everything.

2022-12-28 21:31:04 | [Mutex] isItemNotified: received:node:59b5b857-6118-4ab5-b904-f1760d15f985:localhost:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:Node b1b1064c-7e82-4dea-9cb6-2100bdda13d8 :: false

createNodes 1.401s
2022-12-28 21:31:01 |

2022-12-28 21:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:01 | ------------------------------------

2022-12-28 21:31:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b1b1064c-7e82-4dea-9cb6-2100bdda13d8</title></pubsub></data>

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

2022-12-28 21:31:02 | [Mutex] waiting for: [received:nodes:2d1dd8e3-a0db-401f-9815-beee0eeaa92a:localhost]

2022-12-28 21:31:02 | [Mutex] received everything.

2022-12-28 21:31:02 | [Mutex] isItemNotified: received:node:2d1dd8e3-a0db-401f-9815-beee0eeaa92a:localhost:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:Node b1b1064c-7e82-4dea-9cb6-2100bdda13d8 :: true

createSubnodes 1.021s
2022-12-28 21:31:02 |

2022-12-28 21:31:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:02 | ------------------------------------

2022-12-28 21:31:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d969c09b-948a-4024-94b5-bcbb45e258f5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d969c09b-948a-4024-94b5-bcbb45e258f5</title></pubsub></data>

2022-12-28 21:31:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-28 21:31:03 | [Mutex] waiting for: [received:nodes:045fba6b-5419-479c-9906-fb8364b12730:localhost]

2022-12-28 21:31:03 | [Mutex] waiting for: [received:nodes:045fba6b-5419-479c-9906-fb8364b12730:localhost]

2022-12-28 21:31:03 | [Mutex] waiting for: [received:nodes:045fba6b-5419-479c-9906-fb8364b12730:localhost]

2022-12-28 21:31:03 | [Mutex] waiting for: [received:nodes:045fba6b-5419-479c-9906-fb8364b12730:localhost]

2022-12-28 21:31:03 | [Mutex] waiting for: [received:nodes:045fba6b-5419-479c-9906-fb8364b12730:localhost]

2022-12-28 21:31:03 | [Mutex] received everything.

2022-12-28 21:31:03 | [Mutex] isItemNotified: received:node:045fba6b-5419-479c-9906-fb8364b12730:localhost:node-d969c09b-948a-4024-94b5-bcbb45e258f5:Node d969c09b-948a-4024-94b5-bcbb45e258f5 :: true

deleteNodes 1.021s
2022-12-28 21:31:09 |

2022-12-28 21:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:09 | ------------------------------------

2022-12-28 21:31:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d969c09b-948a-4024-94b5-bcbb45e258f5</node></data>

2022-12-28 21:31:09 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-28 21:31:10 | [Mutex] waiting for: [received:nodes:2670a70a-f48e-461d-b975-814b0ae87fbe:localhost]

2022-12-28 21:31:10 | [Mutex] waiting for: [received:nodes:2670a70a-f48e-461d-b975-814b0ae87fbe:localhost]

2022-12-28 21:31:10 | [Mutex] received everything.

2022-12-28 21:31:10 | [Mutex] isItemNotified: received:node:2670a70a-f48e-461d-b975-814b0ae87fbe:localhost:node-d969c09b-948a-4024-94b5-bcbb45e258f5:Node d969c09b-948a-4024-94b5-bcbb45e258f5 :: false

deleteSubnodes 1.142s
2022-12-28 21:31:08 |

2022-12-28 21:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:08 | ------------------------------------

2022-12-28 21:31:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node></data>

2022-12-28 21:31:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-28 21:31:09 | [Mutex] waiting for: [received:nodes:06d46b9f-980b-4e81-a090-5fbc9d5a38b4:localhost]

2022-12-28 21:31:09 | [Mutex] waiting for: [received:nodes:06d46b9f-980b-4e81-a090-5fbc9d5a38b4:localhost]

2022-12-28 21:31:09 | [Mutex] waiting for: [received:nodes:06d46b9f-980b-4e81-a090-5fbc9d5a38b4:localhost]

2022-12-28 21:31:09 | [Mutex] received everything.

2022-12-28 21:31:09 | [Mutex] isItemNotified: received:node:06d46b9f-980b-4e81-a090-5fbc9d5a38b4:localhost:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:Node b1b1064c-7e82-4dea-9cb6-2100bdda13d8 :: false

2022-12-28 21:31:09 | [Mutex] waiting for: [received:nodes:a88d76ce-c0bf-430e-b0ce-70f907646058:localhost]

2022-12-28 21:31:09 | [Mutex] received everything.

2022-12-28 21:31:09 | [Mutex] isItemNotified: received:node:a88d76ce-c0bf-430e-b0ce-70f907646058:localhost:node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8:Node b1b1064c-7e82-4dea-9cb6-2100bdda13d8 :: false

publishItemsToNodes 0.237s
2022-12-28 21:31:06 |

2022-12-28 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:06 | ------------------------------------

2022-12-28 21:31:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node><item-id>item-ead23c0a-cee3-444c-9d40-7b098024f875</item-id><entry><test>item-ead23c0a-cee3-444c-9d40-7b098024f875</test></entry></data>

2022-12-28 21:31:06 | 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-ead23c0a-cee3-444c-9d40-7b098024f875</value></item-id></result>

2022-12-28 21:31:06 | [Mutex] waiting for: [published:item:notifieditem-ead23c0a-cee3-444c-9d40-7b098024f875:admin@test-domain.com]

2022-12-28 21:31:06 | [Mutex] received everything.

2022-12-28 21:31:06 | [Mutex] isItemNotified: published:item:notifieditem-ead23c0a-cee3-444c-9d40-7b098024f875:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2022-12-28 21:31:06 |

2022-12-28 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:06 | ------------------------------------

2022-12-28 21:31:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node><item-id>item-ead23c0a-cee3-444c-9d40-7b098024f875</item-id></data>

2022-12-28 21:31:06 | 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-ead23c0a-cee3-444c-9d40-7b098024f875</value></item-id></result>

2022-12-28 21:31:06 | [Mutex] received everything.

2022-12-28 21:31:06 | [Mutex] isItemNotified: retracted:item:notifieditem-ead23c0a-cee3-444c-9d40-7b098024f875:admin@test-domain.com :: true

retrieveItemsFromNodes 0.168s
2022-12-28 21:31:06 |

2022-12-28 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:06 | ------------------------------------

2022-12-28 21:31:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node><item-id>item-ead23c0a-cee3-444c-9d40-7b098024f875</item-id></data>

2022-12-28 21:31:06 | 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-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</value></node><item-id type="text-single" label="Item ID"><value>item-ead23c0a-cee3-444c-9d40-7b098024f875</value></item-id><item type="text-multi" label="Item"><value><item id="item-ead23c0a-cee3-444c-9d40-7b098024f875"><test>item-ead23c0a-cee3-444c-9d40-7b098024f875</test></item></value></item></result>

2022-12-28 21:31:06 | [Mutex] notify: [retrieved:item:item-ead23c0a-cee3-444c-9d40-7b098024f875:payload-matches:true:localhost]

2022-12-28 21:31:06 | [Mutex] received everything.

2022-12-28 21:31:06 | [Mutex] isItemNotified: retrieved:item:item-ead23c0a-cee3-444c-9d40-7b098024f875:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-28 21:31:06 |

2022-12-28 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:06 | ------------------------------------

2022-12-28 21:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-28 21:31:06 | 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-d969c09b-948a-4024-94b5-bcbb45e258f5</value><value>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-28 21:31:06 |

2022-12-28 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:06 | ------------------------------------

2022-12-28 21:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8)</node-pattern></data>

2022-12-28 21:31:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.142s
2022-12-28 21:31:04 |

2022-12-28 21:31:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:04 | ------------------------------------

2022-12-28 21:31:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-28 21:31:05 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.207s
2022-12-28 21:31:06 |

2022-12-28 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-28 21:31:06 | ------------------------------------

2022-12-28 21:31:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b1b1064c-7e82-4dea-9cb6-2100bdda13d8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-28 21:31:07 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>