Generated by TestNG with ReportNG at 22:16 PDT on Thursday 24 June 2021
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.825s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.804s
2021-06-24 22:30:35 |

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

2021-06-24 22:30:35 | ------------------------------------

2021-06-24 22:30:35 | [Mutex] isItemNotified: node_3q0loi0203:exists :: false

2021-06-24 22:30:35 | [Mutex] waiting for: [node_3q0loi0203:create_node]

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

2021-06-24 22:30:35 | [Mutex] isItemNotified: node_3q0loi0203:create_node:success :: true

2021-06-24 22:30:35 | [Mutex] waiting for: [node_3q0loi0203:subscribe_node]

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

2021-06-24 22:30:35 | [Mutex] isItemNotified: node_3q0loi0203:subscribe_node:success :: true

2021-06-24 22:30:35 |


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


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

2021-06-24 22:30:35 | command: <data><node>node_3q0loi0203</node><entry><content>content_n9r4fj0204</content></entry></data>

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

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

2021-06-24 22:30:35 | entity: <data><node>node_3q0loi0203</node><entry><content>content_n9r4fj0204</content></entry></data>

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

2021-06-24 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05b1d536-a126-4180-b271-202b287347ca</value></item-id></result>

2021-06-24 22:30:36 | contains: true

2021-06-24 22:30:36 | [Mutex] received everything.

2021-06-24 22:30:36 | [Mutex] isItemNotified: user_regulartozdg00202@test-domain.com:message:received:content_n9r4fj0204 :: true

2021-06-24 22:30:36 |


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


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

2021-06-24 22:30:36 | command: <data><node>node_3q0loi0203</node><expire-at>2021-06-25T05:30:31Z</expire-at><entry><content>content_yfkm830205</content></entry></data>

2021-06-24 22:30:36 | target: http://localhost:8088

2021-06-24 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-24 22:30:36 | entity: <data><node>node_3q0loi0203</node><expire-at>2021-06-25T05:30:31Z</expire-at><entry><content>content_yfkm830205</content></entry></data>

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

2021-06-24 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4470b1c3-2e12-49ec-b0e5-95a1701851a8</value></item-id></result>

2021-06-24 22:30:36 | contains: true

2021-06-24 22:30:36 | [Mutex] waiting for: [user_regulartozdg00202@test-domain.com:message:received:content_yfkm830205]

2021-06-24 22:30:51 | [Mutex] timeout. Not received [user_regulartozdg00202@test-domain.com:message:received:content_yfkm830205]

2021-06-24 22:30:51 | [Mutex] isItemNotified: user_regulartozdg00202@test-domain.com:message:received:content_yfkm830205 :: false

2021-06-24 22:30:51 |


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


2021-06-24 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:30:51 | command: <data><node>node_3q0loi0203</node><entry><content>content_taq91t0206</content></entry></data>

2021-06-24 22:30:51 | target: http://localhost:8088

2021-06-24 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-24 22:30:51 | entity: <data><node>node_3q0loi0203</node><entry><content>content_taq91t0206</content></entry></data>

2021-06-24 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>404747d5-a975-476d-9f11-59475f0b0c80</value></item-id></result>

2021-06-24 22:30:51 | contains: true

2021-06-24 22:30:56 | [Mutex] waiting for: [user_regulartozdg00202@test-domain.com:message:received:content_taq91t0206]

2021-06-24 22:30:56 | [Mutex] received everything.

2021-06-24 22:30:56 | [Mutex] isItemNotified: user_regulartozdg00202@test-domain.com:message:received:content_taq91t0206 :: true

2021-06-24 22:30:56 |


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


2021-06-24 22:30:56 | [Mutex] received everything.

2021-06-24 22:30:56 | [Mutex] isItemNotified: node_3q0loi0203:subscribe_node:success :: true

2021-06-24 22:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-24 22:30:56 | command: <data><node>node_3q0loi0203</node><expire-at>2021-06-25T05:31:01Z</expire-at><entry><content>content_xz9smv0207</content></entry></data>

2021-06-24 22:30:56 | target: http://localhost:8088

2021-06-24 22:30:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-24 22:30:56 | entity: <data><node>node_3q0loi0203</node><expire-at>2021-06-25T05:31:01Z</expire-at><entry><content>content_xz9smv0207</content></entry></data>

2021-06-24 22:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-24 22:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1f665798-e76d-476f-b619-3b38f5b3d4e5</value></item-id></result>

2021-06-24 22:30:56 | contains: true

2021-06-24 22:31:04 | [Mutex] waiting for: [user_regulartozdg00202@test-domain.com:message:received:content_xz9smv0207]

2021-06-24 22:31:04 | [Mutex] waiting for: [user_regulartozdg00202@test-domain.com:message:received:content_xz9smv0207]

2021-06-24 22:31:19 | [Mutex] timeout. Not received [user_regulartozdg00202@test-domain.com:message:received:content_xz9smv0207]

2021-06-24 22:31:19 | [Mutex] received everything.

2021-06-24 22:31:19 | [Mutex] isItemNotified: user_regulartozdg00202@test-domain.com:message:received:content_xz9smv0207 :: false

2021-06-24 22:31:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xz9smv0207 :: true