Generated by TestNG with ReportNG at 22:42 PDT on Tuesday 12 October 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 : 45.622s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.768s
2021-10-12 22:57:32 |

2021-10-12 22:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-12 22:57:32 | ------------------------------------

2021-10-12 22:57:32 | [Mutex] isItemNotified: node_wd6nbl0203:exists :: false

2021-10-12 22:57:32 | [Mutex] waiting for: [node_wd6nbl0203:create_node]

2021-10-12 22:57:32 | [Mutex] received everything.

2021-10-12 22:57:32 | [Mutex] isItemNotified: node_wd6nbl0203:create_node:success :: true

2021-10-12 22:57:32 | [Mutex] waiting for: [node_wd6nbl0203:subscribe_node]

2021-10-12 22:57:32 | [Mutex] received everything.

2021-10-12 22:57:32 | [Mutex] isItemNotified: node_wd6nbl0203:subscribe_node:success :: true

2021-10-12 22:57:32 |


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


2021-10-12 22:57:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:57:32 | command: <data><node>node_wd6nbl0203</node><entry><content>content_jblsk60204</content></entry></data>

2021-10-12 22:57:32 | target: http://localhost:8088

2021-10-12 22:57:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-12 22:57:32 | entity: <data><node>node_wd6nbl0203</node><entry><content>content_jblsk60204</content></entry></data>

2021-10-12 22:57:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:57:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:57:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a53c00d3-1a07-4d13-bc43-361d688e62c8</value></item-id></result>

2021-10-12 22:57:32 | contains: true

2021-10-12 22:57:32 | [Mutex] waiting for: [user_regularqempfm0202@test-domain.com:message:received:content_jblsk60204]

2021-10-12 22:57:32 | [Mutex] received everything.

2021-10-12 22:57:32 | [Mutex] isItemNotified: user_regularqempfm0202@test-domain.com:message:received:content_jblsk60204 :: true

2021-10-12 22:57:32 |


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


2021-10-12 22:57:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:57:32 | command: <data><node>node_wd6nbl0203</node><expire-at>2021-10-13T05:57:27Z</expire-at><entry><content>content_j3a89d0205</content></entry></data>

2021-10-12 22:57:32 | target: http://localhost:8088

2021-10-12 22:57:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-12 22:57:32 | entity: <data><node>node_wd6nbl0203</node><expire-at>2021-10-13T05:57:27Z</expire-at><entry><content>content_j3a89d0205</content></entry></data>

2021-10-12 22:57:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:57:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:57:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d37461e-4654-4d95-a86a-0b2bd1054f93</value></item-id></result>

2021-10-12 22:57:32 | contains: true

2021-10-12 22:57:32 | [Mutex] waiting for: [user_regularqempfm0202@test-domain.com:message:received:content_j3a89d0205]

2021-10-12 22:57:47 | [Mutex] timeout. Not received [user_regularqempfm0202@test-domain.com:message:received:content_j3a89d0205]

2021-10-12 22:57:47 | [Mutex] isItemNotified: user_regularqempfm0202@test-domain.com:message:received:content_j3a89d0205 :: false

2021-10-12 22:57:47 |


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


2021-10-12 22:57:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:57:47 | command: <data><node>node_wd6nbl0203</node><entry><content>content_xgcfn50206</content></entry></data>

2021-10-12 22:57:47 | target: http://localhost:8088

2021-10-12 22:57:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-12 22:57:47 | entity: <data><node>node_wd6nbl0203</node><entry><content>content_xgcfn50206</content></entry></data>

2021-10-12 22:57:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:57:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:57:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6bd06eb2-eb50-47b1-b2d9-f01eb14b26f4</value></item-id></result>

2021-10-12 22:57:47 | contains: true

2021-10-12 22:57:52 | [Mutex] waiting for: [user_regularqempfm0202@test-domain.com:message:received:content_xgcfn50206]

2021-10-12 22:57:52 | [Mutex] received everything.

2021-10-12 22:57:52 | [Mutex] isItemNotified: user_regularqempfm0202@test-domain.com:message:received:content_xgcfn50206 :: true

2021-10-12 22:57:52 |


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


2021-10-12 22:57:52 | [Mutex] received everything.

2021-10-12 22:57:52 | [Mutex] isItemNotified: node_wd6nbl0203:subscribe_node:success :: true

2021-10-12 22:57:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:57:52 | command: <data><node>node_wd6nbl0203</node><expire-at>2021-10-13T05:57:57Z</expire-at><entry><content>content_2g4n1y0207</content></entry></data>

2021-10-12 22:57:52 | target: http://localhost:8088

2021-10-12 22:57:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-12 22:57:52 | entity: <data><node>node_wd6nbl0203</node><expire-at>2021-10-13T05:57:57Z</expire-at><entry><content>content_2g4n1y0207</content></entry></data>

2021-10-12 22:57:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:57:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:57:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70b84d3b-6657-4de2-a391-566cf1bcc177</value></item-id></result>

2021-10-12 22:57:52 | contains: true

2021-10-12 22:58:00 | [Mutex] waiting for: [user_regularqempfm0202@test-domain.com:message:received:content_2g4n1y0207]

2021-10-12 22:58:00 | [Mutex] waiting for: [user_regularqempfm0202@test-domain.com:message:received:content_2g4n1y0207]

2021-10-12 22:58:15 | [Mutex] timeout. Not received [user_regularqempfm0202@test-domain.com:message:received:content_2g4n1y0207]

2021-10-12 22:58:15 | [Mutex] received everything.

2021-10-12 22:58:15 | [Mutex] isItemNotified: user_regularqempfm0202@test-domain.com:message:received:content_2g4n1y0207 :: false

2021-10-12 22:58:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2g4n1y0207 :: true