Generated by TestNG with ReportNG at 22:30 PDT on Thursday 27 May 2021
root@f29ef40080b5 / 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.946s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2021-05-27 22:45:23 |

2021-05-27 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-27 22:45:23 | ------------------------------------

2021-05-27 22:45:23 | [Mutex] isItemNotified: node_gkaq940203:exists :: false

2021-05-27 22:45:23 | [Mutex] waiting for: [node_gkaq940203:create_node]

2021-05-27 22:45:23 | [Mutex] received everything.

2021-05-27 22:45:23 | [Mutex] isItemNotified: node_gkaq940203:create_node:success :: true

2021-05-27 22:45:23 | [Mutex] waiting for: [node_gkaq940203:subscribe_node]

2021-05-27 22:45:23 | [Mutex] received everything.

2021-05-27 22:45:23 | [Mutex] isItemNotified: node_gkaq940203:subscribe_node:success :: true

2021-05-27 22:45:23 |


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


2021-05-27 22:45:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 22:45:23 | command: <data><node>node_gkaq940203</node><entry><content>content_f4bqwm0204</content></entry></data>

2021-05-27 22:45:23 | target: http://localhost:8088

2021-05-27 22:45:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 22:45:23 | entity: <data><node>node_gkaq940203</node><entry><content>content_f4bqwm0204</content></entry></data>

2021-05-27 22:45:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:45:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:45:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>66893148-edd8-4754-9280-b5a4cff7d1cc</value></item-id></result>

2021-05-27 22:45:23 | contains: true

2021-05-27 22:45:23 | [Mutex] received everything.

2021-05-27 22:45:23 | [Mutex] isItemNotified: user_regularx7kmzu0202@test-domain.com:message:received:content_f4bqwm0204 :: true

2021-05-27 22:45:23 |


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


2021-05-27 22:45:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 22:45:23 | command: <data><node>node_gkaq940203</node><expire-at>2021-05-28T05:45:18Z</expire-at><entry><content>content_ff21z40205</content></entry></data>

2021-05-27 22:45:23 | target: http://localhost:8088

2021-05-27 22:45:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 22:45:23 | entity: <data><node>node_gkaq940203</node><expire-at>2021-05-28T05:45:18Z</expire-at><entry><content>content_ff21z40205</content></entry></data>

2021-05-27 22:45:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:45:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:45:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38a98819-8aa7-44a2-9ad8-f101e04521a7</value></item-id></result>

2021-05-27 22:45:23 | contains: true

2021-05-27 22:45:23 | [Mutex] waiting for: [user_regularx7kmzu0202@test-domain.com:message:received:content_ff21z40205]

2021-05-27 22:45:38 | [Mutex] timeout. Not received [user_regularx7kmzu0202@test-domain.com:message:received:content_ff21z40205]

2021-05-27 22:45:38 | [Mutex] isItemNotified: user_regularx7kmzu0202@test-domain.com:message:received:content_ff21z40205 :: false

2021-05-27 22:45:38 |


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


2021-05-27 22:45:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 22:45:38 | command: <data><node>node_gkaq940203</node><entry><content>content_mdherc0206</content></entry></data>

2021-05-27 22:45:38 | target: http://localhost:8088

2021-05-27 22:45:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 22:45:38 | entity: <data><node>node_gkaq940203</node><entry><content>content_mdherc0206</content></entry></data>

2021-05-27 22:45:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:45:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:45:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3b5267fb-0fa4-40c3-b4ab-9a53d779f169</value></item-id></result>

2021-05-27 22:45:38 | contains: true

2021-05-27 22:45:43 | [Mutex] waiting for: [user_regularx7kmzu0202@test-domain.com:message:received:content_mdherc0206]

2021-05-27 22:45:43 | [Mutex] received everything.

2021-05-27 22:45:43 | [Mutex] isItemNotified: user_regularx7kmzu0202@test-domain.com:message:received:content_mdherc0206 :: true

2021-05-27 22:45:43 |


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


2021-05-27 22:45:43 | [Mutex] received everything.

2021-05-27 22:45:43 | [Mutex] isItemNotified: node_gkaq940203:subscribe_node:success :: true

2021-05-27 22:45:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 22:45:43 | command: <data><node>node_gkaq940203</node><expire-at>2021-05-28T05:45:48Z</expire-at><entry><content>content_7lxxgw0207</content></entry></data>

2021-05-27 22:45:43 | target: http://localhost:8088

2021-05-27 22:45:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 22:45:43 | entity: <data><node>node_gkaq940203</node><expire-at>2021-05-28T05:45:48Z</expire-at><entry><content>content_7lxxgw0207</content></entry></data>

2021-05-27 22:45:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:45:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 22:45:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56456d92-2ba6-425d-af49-235ef29f6531</value></item-id></result>

2021-05-27 22:45:43 | contains: true

2021-05-27 22:45:51 | [Mutex] waiting for: [user_regularx7kmzu0202@test-domain.com:message:received:content_7lxxgw0207]

2021-05-27 22:46:06 | [Mutex] timeout. Not received [user_regularx7kmzu0202@test-domain.com:message:received:content_7lxxgw0207]

2021-05-27 22:46:06 | [Mutex] received everything.

2021-05-27 22:46:06 | [Mutex] isItemNotified: user_regularx7kmzu0202@test-domain.com:message:received:content_7lxxgw0207 :: false

2021-05-27 22:46:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7lxxgw0207 :: true