Generated by TestNG with ReportNG at 21:24 PST on Wednesday 18 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.595s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.684s
2020-11-18 21:42:43 |

2020-11-18 21:42:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-18 21:42:43 | ------------------------------------

2020-11-18 21:42:43 | [Mutex] isItemNotified: node_bocqem0203:exists :: false

2020-11-18 21:42:43 | [Mutex] waiting for: [node_bocqem0203:create_node]

2020-11-18 21:42:43 | [Mutex] received everything.

2020-11-18 21:42:43 | [Mutex] isItemNotified: node_bocqem0203:create_node:success :: true

2020-11-18 21:42:43 | [Mutex] waiting for: [node_bocqem0203:subscribe_node]

2020-11-18 21:42:43 | [Mutex] waiting for: [node_bocqem0203:subscribe_node]

2020-11-18 21:42:43 | [Mutex] received everything.

2020-11-18 21:42:43 | [Mutex] isItemNotified: node_bocqem0203:subscribe_node:success :: true

2020-11-18 21:42:43 |


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


2020-11-18 21:42:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:42:43 | command: <data><node>node_bocqem0203</node><entry><content>content_ruy2u00204</content></entry></data>

2020-11-18 21:42:43 | target: http://localhost:8088

2020-11-18 21:42:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:42:43 | entity: <data><node>node_bocqem0203</node><entry><content>content_ruy2u00204</content></entry></data>

2020-11-18 21:42:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:42:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:42:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c19415f4-a006-4538-b250-2772d8451e8c</value></item-id></result>

2020-11-18 21:42:43 | contains: true

2020-11-18 21:42:43 | [Mutex] received everything.

2020-11-18 21:42:43 | [Mutex] isItemNotified: user_regularabf9p20202@test-domain.com:message:received:content_ruy2u00204 :: true

2020-11-18 21:42:43 |


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


2020-11-18 21:42:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:42:43 | command: <data><node>node_bocqem0203</node><expire-at>2020-11-19T05:42:38Z</expire-at><entry><content>content_oux2e20205</content></entry></data>

2020-11-18 21:42:43 | target: http://localhost:8088

2020-11-18 21:42:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:42:43 | entity: <data><node>node_bocqem0203</node><expire-at>2020-11-19T05:42:38Z</expire-at><entry><content>content_oux2e20205</content></entry></data>

2020-11-18 21:42:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:42:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:42:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2618aa27-60c2-445e-af78-cf0439f4210a</value></item-id></result>

2020-11-18 21:42:43 | contains: true

2020-11-18 21:42:43 | [Mutex] waiting for: [user_regularabf9p20202@test-domain.com:message:received:content_oux2e20205]

2020-11-18 21:42:58 | [Mutex] timeout. Not received [user_regularabf9p20202@test-domain.com:message:received:content_oux2e20205]

2020-11-18 21:42:58 | [Mutex] isItemNotified: user_regularabf9p20202@test-domain.com:message:received:content_oux2e20205 :: false

2020-11-18 21:42:58 |


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


2020-11-18 21:42:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:42:58 | command: <data><node>node_bocqem0203</node><entry><content>content_54g3nh0206</content></entry></data>

2020-11-18 21:42:58 | target: http://localhost:8088

2020-11-18 21:42:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:42:58 | entity: <data><node>node_bocqem0203</node><entry><content>content_54g3nh0206</content></entry></data>

2020-11-18 21:42:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:42:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:42:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8c1d54b1-3688-4854-b6c6-3bfa8073d7be</value></item-id></result>

2020-11-18 21:42:58 | contains: true

2020-11-18 21:43:03 | [Mutex] waiting for: [user_regularabf9p20202@test-domain.com:message:received:content_54g3nh0206]

2020-11-18 21:43:03 | [Mutex] waiting for: [user_regularabf9p20202@test-domain.com:message:received:content_54g3nh0206]

2020-11-18 21:43:03 | [Mutex] received everything.

2020-11-18 21:43:03 | [Mutex] isItemNotified: user_regularabf9p20202@test-domain.com:message:received:content_54g3nh0206 :: true

2020-11-18 21:43:03 |


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


2020-11-18 21:43:03 | [Mutex] received everything.

2020-11-18 21:43:03 | [Mutex] isItemNotified: node_bocqem0203:subscribe_node:success :: true

2020-11-18 21:43:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:43:03 | command: <data><node>node_bocqem0203</node><expire-at>2020-11-19T05:43:08Z</expire-at><entry><content>content_unir90207</content></entry></data>

2020-11-18 21:43:03 | target: http://localhost:8088

2020-11-18 21:43:03 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2020-11-18 21:43:03 | entity: <data><node>node_bocqem0203</node><expire-at>2020-11-19T05:43:08Z</expire-at><entry><content>content_unir90207</content></entry></data>

2020-11-18 21:43:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:43:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:43:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6e41cc7a-2b08-42d8-90da-af135660c73b</value></item-id></result>

2020-11-18 21:43:03 | contains: true

2020-11-18 21:43:12 | [Mutex] waiting for: [user_regularabf9p20202@test-domain.com:message:received:content_unir90207]

2020-11-18 21:43:12 | [Mutex] waiting for: [user_regularabf9p20202@test-domain.com:message:received:content_unir90207]

2020-11-18 21:43:12 | [Mutex] waiting for: [user_regularabf9p20202@test-domain.com:message:received:content_unir90207]

2020-11-18 21:43:27 | [Mutex] timeout. Not received [user_regularabf9p20202@test-domain.com:message:received:content_unir90207]

2020-11-18 21:43:27 | [Mutex] received everything.

2020-11-18 21:43:27 | [Mutex] isItemNotified: user_regularabf9p20202@test-domain.com:message:received:content_unir90207 :: false

2020-11-18 21:43:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_unir90207 :: true