Generated by TestNG with ReportNG at 21:25 PST on Monday 23 November 2020
root@eaa73862192b / 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.165s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.798s
2020-11-23 21:41:26 |

2020-11-23 21:41:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-23 21:41:26 | ------------------------------------

2020-11-23 21:41:26 | [Mutex] isItemNotified: node_t2yxb40203:exists :: false

2020-11-23 21:41:26 | [Mutex] waiting for: [node_t2yxb40203:create_node]

2020-11-23 21:41:26 | [Mutex] waiting for: [node_t2yxb40203:create_node]

2020-11-23 21:41:26 | [Mutex] received everything.

2020-11-23 21:41:26 | [Mutex] isItemNotified: node_t2yxb40203:create_node:success :: true

2020-11-23 21:41:26 | [Mutex] waiting for: [node_t2yxb40203:subscribe_node]

2020-11-23 21:41:26 | [Mutex] waiting for: [node_t2yxb40203:subscribe_node]

2020-11-23 21:41:26 | [Mutex] received everything.

2020-11-23 21:41:26 | [Mutex] isItemNotified: node_t2yxb40203:subscribe_node:success :: true

2020-11-23 21:41:26 |


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


2020-11-23 21:41:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-23 21:41:26 | command: <data><node>node_t2yxb40203</node><entry><content>content_3sfcmu0204</content></entry></data>

2020-11-23 21:41:26 | target: http://localhost:8088

2020-11-23 21:41:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-23 21:41:26 | entity: <data><node>node_t2yxb40203</node><entry><content>content_3sfcmu0204</content></entry></data>

2020-11-23 21:41:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:41:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-23 21:41:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bdaef2c3-9d29-47fb-a261-4fc5177b6980</value></item-id></result>

2020-11-23 21:41:26 | contains: true

2020-11-23 21:41:26 | [Mutex] received everything.

2020-11-23 21:41:26 | [Mutex] isItemNotified: user_regularekf1b0202@test-domain.com:message:received:content_3sfcmu0204 :: true

2020-11-23 21:41:26 |


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


2020-11-23 21:41:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-23 21:41:26 | command: <data><node>node_t2yxb40203</node><expire-at>2020-11-24T05:41:21Z</expire-at><entry><content>content_u3lfld0205</content></entry></data>

2020-11-23 21:41:26 | target: http://localhost:8088

2020-11-23 21:41:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-23 21:41:26 | entity: <data><node>node_t2yxb40203</node><expire-at>2020-11-24T05:41:21Z</expire-at><entry><content>content_u3lfld0205</content></entry></data>

2020-11-23 21:41:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:41:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-23 21:41:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>205723f2-8fe7-4404-8f44-733424735721</value></item-id></result>

2020-11-23 21:41:26 | contains: true

2020-11-23 21:41:26 | [Mutex] waiting for: [user_regularekf1b0202@test-domain.com:message:received:content_u3lfld0205]

2020-11-23 21:41:41 | [Mutex] timeout. Not received [user_regularekf1b0202@test-domain.com:message:received:content_u3lfld0205]

2020-11-23 21:41:41 | [Mutex] isItemNotified: user_regularekf1b0202@test-domain.com:message:received:content_u3lfld0205 :: false

2020-11-23 21:41:41 |


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


2020-11-23 21:41:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-23 21:41:41 | command: <data><node>node_t2yxb40203</node><entry><content>content_2f5p7j0206</content></entry></data>

2020-11-23 21:41:41 | target: http://localhost:8088

2020-11-23 21:41:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-23 21:41:41 | entity: <data><node>node_t2yxb40203</node><entry><content>content_2f5p7j0206</content></entry></data>

2020-11-23 21:41:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:41:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-23 21:41:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bc7666e5-6956-4803-96e9-67ce53f31f8b</value></item-id></result>

2020-11-23 21:41:41 | contains: true

2020-11-23 21:41:47 | [Mutex] waiting for: [user_regularekf1b0202@test-domain.com:message:received:content_2f5p7j0206]

2020-11-23 21:41:47 | [Mutex] received everything.

2020-11-23 21:41:47 | [Mutex] isItemNotified: user_regularekf1b0202@test-domain.com:message:received:content_2f5p7j0206 :: true

2020-11-23 21:41:47 |


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


2020-11-23 21:41:47 | [Mutex] received everything.

2020-11-23 21:41:47 | [Mutex] isItemNotified: node_t2yxb40203:subscribe_node:success :: true

2020-11-23 21:41:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-23 21:41:47 | command: <data><node>node_t2yxb40203</node><expire-at>2020-11-24T05:41:52Z</expire-at><entry><content>content_avdchp0207</content></entry></data>

2020-11-23 21:41:47 | target: http://localhost:8088

2020-11-23 21:41:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-23 21:41:47 | entity: <data><node>node_t2yxb40203</node><expire-at>2020-11-24T05:41:52Z</expire-at><entry><content>content_avdchp0207</content></entry></data>

2020-11-23 21:41:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:41:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-23 21:41:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4a7b904-bead-43b2-82df-46124acba472</value></item-id></result>

2020-11-23 21:41:47 | contains: true

2020-11-23 21:41:55 | [Mutex] waiting for: [user_regularekf1b0202@test-domain.com:message:received:content_avdchp0207]

2020-11-23 21:41:55 | [Mutex] waiting for: [user_regularekf1b0202@test-domain.com:message:received:content_avdchp0207]

2020-11-23 21:42:10 | [Mutex] timeout. Not received [user_regularekf1b0202@test-domain.com:message:received:content_avdchp0207]

2020-11-23 21:42:10 | [Mutex] received everything.

2020-11-23 21:42:10 | [Mutex] isItemNotified: user_regularekf1b0202@test-domain.com:message:received:content_avdchp0207 :: false

2020-11-23 21:42:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_avdchp0207 :: true