Generated by TestNG with ReportNG at 22:18 PDT on Sunday 14 March 2021
root@87f6aca6b6f2 / 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.577s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.677s
2021-03-14 22:32:54 |

2021-03-14 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-14 22:32:54 | ------------------------------------

2021-03-14 22:32:54 | [Mutex] isItemNotified: node_7z5hnv0203:exists :: false

2021-03-14 22:32:54 | [Mutex] waiting for: [node_7z5hnv0203:create_node]

2021-03-14 22:32:54 | [Mutex] received everything.

2021-03-14 22:32:54 | [Mutex] isItemNotified: node_7z5hnv0203:create_node:success :: true

2021-03-14 22:32:54 | [Mutex] waiting for: [node_7z5hnv0203:subscribe_node]

2021-03-14 22:32:54 | [Mutex] received everything.

2021-03-14 22:32:54 | [Mutex] isItemNotified: node_7z5hnv0203:subscribe_node:success :: true

2021-03-14 22:32:54 |


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


2021-03-14 22:32:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:32:54 | command: <data><node>node_7z5hnv0203</node><entry><content>content_aylxwx0204</content></entry></data>

2021-03-14 22:32:54 | target: http://localhost:8088

2021-03-14 22:32:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-14 22:32:54 | entity: <data><node>node_7z5hnv0203</node><entry><content>content_aylxwx0204</content></entry></data>

2021-03-14 22:32:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:32:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:32:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7efca8f-2947-45f0-afd1-0789b823a05c</value></item-id></result>

2021-03-14 22:32:54 | contains: true

2021-03-14 22:32:54 | [Mutex] waiting for: [user_regular72nibv0202@test-domain.com:message:received:content_aylxwx0204]

2021-03-14 22:32:54 | [Mutex] received everything.

2021-03-14 22:32:54 | [Mutex] isItemNotified: user_regular72nibv0202@test-domain.com:message:received:content_aylxwx0204 :: true

2021-03-14 22:32:54 |


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


2021-03-14 22:32:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:32:54 | command: <data><node>node_7z5hnv0203</node><expire-at>2021-03-15T05:32:49Z</expire-at><entry><content>content_fent5d0205</content></entry></data>

2021-03-14 22:32:54 | target: http://localhost:8088

2021-03-14 22:32:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-14 22:32:54 | entity: <data><node>node_7z5hnv0203</node><expire-at>2021-03-15T05:32:49Z</expire-at><entry><content>content_fent5d0205</content></entry></data>

2021-03-14 22:32:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:32:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:32:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21b16a9e-d780-4d00-b616-2b871121ad15</value></item-id></result>

2021-03-14 22:32:55 | contains: true

2021-03-14 22:32:55 | [Mutex] waiting for: [user_regular72nibv0202@test-domain.com:message:received:content_fent5d0205]

2021-03-14 22:33:10 | [Mutex] timeout. Not received [user_regular72nibv0202@test-domain.com:message:received:content_fent5d0205]

2021-03-14 22:33:10 | [Mutex] isItemNotified: user_regular72nibv0202@test-domain.com:message:received:content_fent5d0205 :: false

2021-03-14 22:33:10 |


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


2021-03-14 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:33:10 | command: <data><node>node_7z5hnv0203</node><entry><content>content_4p4plq0206</content></entry></data>

2021-03-14 22:33:10 | target: http://localhost:8088

2021-03-14 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-14 22:33:10 | entity: <data><node>node_7z5hnv0203</node><entry><content>content_4p4plq0206</content></entry></data>

2021-03-14 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e032026-d4eb-4c14-9f9f-f5879227c27a</value></item-id></result>

2021-03-14 22:33:10 | contains: true

2021-03-14 22:33:15 | [Mutex] waiting for: [user_regular72nibv0202@test-domain.com:message:received:content_4p4plq0206]

2021-03-14 22:33:15 | [Mutex] received everything.

2021-03-14 22:33:15 | [Mutex] isItemNotified: user_regular72nibv0202@test-domain.com:message:received:content_4p4plq0206 :: true

2021-03-14 22:33:15 |


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


2021-03-14 22:33:15 | [Mutex] received everything.

2021-03-14 22:33:15 | [Mutex] isItemNotified: node_7z5hnv0203:subscribe_node:success :: true

2021-03-14 22:33:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:33:15 | command: <data><node>node_7z5hnv0203</node><expire-at>2021-03-15T05:33:20Z</expire-at><entry><content>content_13cnc30207</content></entry></data>

2021-03-14 22:33:15 | target: http://localhost:8088

2021-03-14 22:33:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-14 22:33:15 | entity: <data><node>node_7z5hnv0203</node><expire-at>2021-03-15T05:33:20Z</expire-at><entry><content>content_13cnc30207</content></entry></data>

2021-03-14 22:33:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:33:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:33:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea7cf540-203a-400f-8871-cb7d4f27e2fa</value></item-id></result>

2021-03-14 22:33:15 | contains: true

2021-03-14 22:33:23 | [Mutex] waiting for: [user_regular72nibv0202@test-domain.com:message:received:content_13cnc30207]

2021-03-14 22:33:38 | [Mutex] timeout. Not received [user_regular72nibv0202@test-domain.com:message:received:content_13cnc30207]

2021-03-14 22:33:38 | [Mutex] received everything.

2021-03-14 22:33:38 | [Mutex] isItemNotified: user_regular72nibv0202@test-domain.com:message:received:content_13cnc30207 :: false

2021-03-14 22:33:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_13cnc30207 :: true