Generated by TestNG with ReportNG at 21:19 PST on Thursday 17 February 2022
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.082s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.642s
2022-02-17 21:34:51 |

2022-02-17 21:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-17 21:34:51 | ------------------------------------

2022-02-17 21:34:51 | [Mutex] isItemNotified: node_y29lrd0203:exists :: false

2022-02-17 21:34:51 | [Mutex] waiting for: [node_y29lrd0203:create_node]

2022-02-17 21:34:51 | [Mutex] received everything.

2022-02-17 21:34:51 | [Mutex] isItemNotified: node_y29lrd0203:create_node:success :: true

2022-02-17 21:34:51 | [Mutex] waiting for: [node_y29lrd0203:subscribe_node]

2022-02-17 21:34:51 | [Mutex] waiting for: [node_y29lrd0203:subscribe_node]

2022-02-17 21:34:51 | [Mutex] received everything.

2022-02-17 21:34:51 | [Mutex] isItemNotified: node_y29lrd0203:subscribe_node:success :: true

2022-02-17 21:34:51 |


===== publishing normal message (to online)


2022-02-17 21:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:34:51 | command: <data><node>node_y29lrd0203</node><entry><content>content_cmn1nx0204</content></entry></data>

2022-02-17 21:34:51 | target: http://localhost:8088

2022-02-17 21:34:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 21:34:51 | entity: <data><node>node_y29lrd0203</node><entry><content>content_cmn1nx0204</content></entry></data>

2022-02-17 21:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>39376a41-086d-43ce-93f1-cae4108e8f69</value></item-id></result>

2022-02-17 21:34:51 | contains: true

2022-02-17 21:34:51 | [Mutex] received everything.

2022-02-17 21:34:51 | [Mutex] isItemNotified: user_regulararqe9f0202@test-domain.com:message:received:content_cmn1nx0204 :: true

2022-02-17 21:34:51 |


===== publishing already old message - expecting message being filtered out (to online)


2022-02-17 21:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:34:51 | command: <data><node>node_y29lrd0203</node><expire-at>2022-02-18T05:34:46Z</expire-at><entry><content>content_eovv9a0205</content></entry></data>

2022-02-17 21:34:51 | target: http://localhost:8088

2022-02-17 21:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 21:34:51 | entity: <data><node>node_y29lrd0203</node><expire-at>2022-02-18T05:34:46Z</expire-at><entry><content>content_eovv9a0205</content></entry></data>

2022-02-17 21:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c6bc2d7-c4fe-4c37-9cc0-f8530f138ec2</value></item-id></result>

2022-02-17 21:34:51 | contains: true

2022-02-17 21:34:51 | [Mutex] waiting for: [user_regulararqe9f0202@test-domain.com:message:received:content_eovv9a0205]

2022-02-17 21:35:06 | [Mutex] timeout. Not received [user_regulararqe9f0202@test-domain.com:message:received:content_eovv9a0205]

2022-02-17 21:35:06 | [Mutex] isItemNotified: user_regulararqe9f0202@test-domain.com:message:received:content_eovv9a0205 :: false

2022-02-17 21:35:06 |


===== publishing normal message (to offline)


2022-02-17 21:35:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:35:06 | command: <data><node>node_y29lrd0203</node><entry><content>content_gohl270206</content></entry></data>

2022-02-17 21:35:06 | target: http://localhost:8088

2022-02-17 21:35:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 21:35:06 | entity: <data><node>node_y29lrd0203</node><entry><content>content_gohl270206</content></entry></data>

2022-02-17 21:35:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:35:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:35:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e9060fc-0594-472b-af06-2ceffa63bda8</value></item-id></result>

2022-02-17 21:35:06 | contains: true

2022-02-17 21:35:11 | [Mutex] waiting for: [user_regulararqe9f0202@test-domain.com:message:received:content_gohl270206]

2022-02-17 21:35:11 | [Mutex] received everything.

2022-02-17 21:35:11 | [Mutex] isItemNotified: user_regulararqe9f0202@test-domain.com:message:received:content_gohl270206 :: true

2022-02-17 21:35:11 |


===== publishing already old message - expecting message being filtered out (to offline)


2022-02-17 21:35:11 | [Mutex] received everything.

2022-02-17 21:35:11 | [Mutex] isItemNotified: node_y29lrd0203:subscribe_node:success :: true

2022-02-17 21:35:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:35:11 | command: <data><node>node_y29lrd0203</node><expire-at>2022-02-18T05:35:16Z</expire-at><entry><content>content_1rta3y0207</content></entry></data>

2022-02-17 21:35:11 | target: http://localhost:8088

2022-02-17 21:35:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 21:35:11 | entity: <data><node>node_y29lrd0203</node><expire-at>2022-02-18T05:35:16Z</expire-at><entry><content>content_1rta3y0207</content></entry></data>

2022-02-17 21:35:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:35:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:35:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4baf16d-231c-487b-bc2a-91e4c66a5c0e</value></item-id></result>

2022-02-17 21:35:11 | contains: true

2022-02-17 21:35:19 | [Mutex] waiting for: [user_regulararqe9f0202@test-domain.com:message:received:content_1rta3y0207]

2022-02-17 21:35:34 | [Mutex] timeout. Not received [user_regulararqe9f0202@test-domain.com:message:received:content_1rta3y0207]

2022-02-17 21:35:34 | [Mutex] received everything.

2022-02-17 21:35:34 | [Mutex] isItemNotified: user_regulararqe9f0202@test-domain.com:message:received:content_1rta3y0207 :: false

2022-02-17 21:35:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1rta3y0207 :: true