Generated by TestNG with ReportNG at 22:16 PDT on Monday 21 June 2021
root@b2c2a8eba6e6 / 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 : 44.991s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.677s
2021-06-21 22:35:21 |

2021-06-21 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-21 22:35:21 | ------------------------------------

2021-06-21 22:35:21 | [Mutex] isItemNotified: node_pp8muy0203:exists :: false

2021-06-21 22:35:21 | [Mutex] waiting for: [node_pp8muy0203:create_node]

2021-06-21 22:35:21 | [Mutex] received everything.

2021-06-21 22:35:21 | [Mutex] isItemNotified: node_pp8muy0203:create_node:success :: true

2021-06-21 22:35:21 | [Mutex] waiting for: [node_pp8muy0203:subscribe_node]

2021-06-21 22:35:21 | [Mutex] received everything.

2021-06-21 22:35:21 | [Mutex] isItemNotified: node_pp8muy0203:subscribe_node:success :: true

2021-06-21 22:35:21 |


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


2021-06-21 22:35:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:35:21 | command: <data><node>node_pp8muy0203</node><entry><content>content_fx2u0h0204</content></entry></data>

2021-06-21 22:35:21 | target: http://localhost:8088

2021-06-21 22:35:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-21 22:35:21 | entity: <data><node>node_pp8muy0203</node><entry><content>content_fx2u0h0204</content></entry></data>

2021-06-21 22:35:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:35:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:35:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>453a3295-ce63-471b-95e6-09e956243e59</value></item-id></result>

2021-06-21 22:35:21 | contains: true

2021-06-21 22:35:21 | [Mutex] received everything.

2021-06-21 22:35:21 | [Mutex] isItemNotified: user_regularulhvck0202@test-domain.com:message:received:content_fx2u0h0204 :: true

2021-06-21 22:35:21 |


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


2021-06-21 22:35:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:35:21 | command: <data><node>node_pp8muy0203</node><expire-at>2021-06-22T05:35:16Z</expire-at><entry><content>content_81wb7u0205</content></entry></data>

2021-06-21 22:35:21 | target: http://localhost:8088

2021-06-21 22:35:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-21 22:35:21 | entity: <data><node>node_pp8muy0203</node><expire-at>2021-06-22T05:35:16Z</expire-at><entry><content>content_81wb7u0205</content></entry></data>

2021-06-21 22:35:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:35:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:35:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ae833276-8c5b-4ac8-a657-8ec94c961658</value></item-id></result>

2021-06-21 22:35:21 | contains: true

2021-06-21 22:35:21 | [Mutex] waiting for: [user_regularulhvck0202@test-domain.com:message:received:content_81wb7u0205]

2021-06-21 22:35:36 | [Mutex] timeout. Not received [user_regularulhvck0202@test-domain.com:message:received:content_81wb7u0205]

2021-06-21 22:35:36 | [Mutex] isItemNotified: user_regularulhvck0202@test-domain.com:message:received:content_81wb7u0205 :: false

2021-06-21 22:35:36 |


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


2021-06-21 22:35:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:35:36 | command: <data><node>node_pp8muy0203</node><entry><content>content_phiqy60206</content></entry></data>

2021-06-21 22:35:36 | target: http://localhost:8088

2021-06-21 22:35:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-21 22:35:36 | entity: <data><node>node_pp8muy0203</node><entry><content>content_phiqy60206</content></entry></data>

2021-06-21 22:35:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:35:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:35:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ed5e6dd6-4f55-46b9-b89c-3278e3f3297b</value></item-id></result>

2021-06-21 22:35:36 | contains: true

2021-06-21 22:35:41 | [Mutex] waiting for: [user_regularulhvck0202@test-domain.com:message:received:content_phiqy60206]

2021-06-21 22:35:41 | [Mutex] received everything.

2021-06-21 22:35:41 | [Mutex] isItemNotified: user_regularulhvck0202@test-domain.com:message:received:content_phiqy60206 :: true

2021-06-21 22:35:41 |


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


2021-06-21 22:35:41 | [Mutex] received everything.

2021-06-21 22:35:41 | [Mutex] isItemNotified: node_pp8muy0203:subscribe_node:success :: true

2021-06-21 22:35:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-21 22:35:41 | command: <data><node>node_pp8muy0203</node><expire-at>2021-06-22T05:35:46Z</expire-at><entry><content>content_c89mep0207</content></entry></data>

2021-06-21 22:35:41 | target: http://localhost:8088

2021-06-21 22:35:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-21 22:35:41 | entity: <data><node>node_pp8muy0203</node><expire-at>2021-06-22T05:35:46Z</expire-at><entry><content>content_c89mep0207</content></entry></data>

2021-06-21 22:35:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:35:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-21 22:35:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac086240-6246-42b3-91e8-e531aac069dd</value></item-id></result>

2021-06-21 22:35:41 | contains: true

2021-06-21 22:35:49 | [Mutex] waiting for: [user_regularulhvck0202@test-domain.com:message:received:content_c89mep0207]

2021-06-21 22:36:04 | [Mutex] timeout. Not received [user_regularulhvck0202@test-domain.com:message:received:content_c89mep0207]

2021-06-21 22:36:04 | [Mutex] received everything.

2021-06-21 22:36:04 | [Mutex] isItemNotified: user_regularulhvck0202@test-domain.com:message:received:content_c89mep0207 :: false

2021-06-21 22:36:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c89mep0207 :: true