Test duration : 44.993s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.655s |
2021-05-12 22:41:56 |
2021-05-12 22:41:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-12 22:41:56 | ------------------------------------ 2021-05-12 22:41:56 | [Mutex] isItemNotified: node_ew0b3v0203:exists :: false 2021-05-12 22:41:56 | [Mutex] waiting for: [node_ew0b3v0203:create_node] 2021-05-12 22:41:56 | [Mutex] received everything. 2021-05-12 22:41:56 | [Mutex] isItemNotified: node_ew0b3v0203:create_node:success :: true 2021-05-12 22:41:56 | [Mutex] waiting for: [node_ew0b3v0203:subscribe_node] 2021-05-12 22:41:56 | [Mutex] waiting for: [node_ew0b3v0203:subscribe_node] 2021-05-12 22:41:56 | [Mutex] received everything. 2021-05-12 22:41:56 | [Mutex] isItemNotified: node_ew0b3v0203:subscribe_node:success :: true 2021-05-12 22:41:56 | ===== publishing normal message (to online) 2021-05-12 22:41:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:41:56 | command: <data><node>node_ew0b3v0203</node><entry><content>content_nvn8gf0204</content></entry></data> 2021-05-12 22:41:56 | target: http://localhost:8088 2021-05-12 22:41:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-12 22:41:56 | entity: <data><node>node_ew0b3v0203</node><entry><content>content_nvn8gf0204</content></entry></data> 2021-05-12 22:41:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:41:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:41:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>91e58dff-8eae-4edb-bfe1-d03ca40dbca4</value></item-id></result> 2021-05-12 22:41:56 | contains: true 2021-05-12 22:41:56 | [Mutex] received everything. 2021-05-12 22:41:56 | [Mutex] isItemNotified: user_regular560w8g0202@test-domain.com:message:received:content_nvn8gf0204 :: true 2021-05-12 22:41:56 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-12 22:41:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:41:56 | command: <data><node>node_ew0b3v0203</node><expire-at>2021-05-13T05:41:51Z</expire-at><entry><content>content_972ha80205</content></entry></data> 2021-05-12 22:41:56 | target: http://localhost:8088 2021-05-12 22:41:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-12 22:41:56 | entity: <data><node>node_ew0b3v0203</node><expire-at>2021-05-13T05:41:51Z</expire-at><entry><content>content_972ha80205</content></entry></data> 2021-05-12 22:41:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:41:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:41:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b9d7335-268f-4216-a248-af60f8b40d88</value></item-id></result> 2021-05-12 22:41:56 | contains: true 2021-05-12 22:41:56 | [Mutex] waiting for: [user_regular560w8g0202@test-domain.com:message:received:content_972ha80205] 2021-05-12 22:42:11 | [Mutex] timeout. Not received [user_regular560w8g0202@test-domain.com:message:received:content_972ha80205] 2021-05-12 22:42:11 | [Mutex] isItemNotified: user_regular560w8g0202@test-domain.com:message:received:content_972ha80205 :: false 2021-05-12 22:42:11 | ===== publishing normal message (to offline) 2021-05-12 22:42:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:42:11 | command: <data><node>node_ew0b3v0203</node><entry><content>content_cnooyv0206</content></entry></data> 2021-05-12 22:42:11 | target: http://localhost:8088 2021-05-12 22:42:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-12 22:42:11 | entity: <data><node>node_ew0b3v0203</node><entry><content>content_cnooyv0206</content></entry></data> 2021-05-12 22:42:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:42:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:42:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f925d312-d79f-415c-a85a-271ced03e2e6</value></item-id></result> 2021-05-12 22:42:11 | contains: true 2021-05-12 22:42:16 | [Mutex] waiting for: [user_regular560w8g0202@test-domain.com:message:received:content_cnooyv0206] 2021-05-12 22:42:16 | [Mutex] waiting for: [user_regular560w8g0202@test-domain.com:message:received:content_cnooyv0206] 2021-05-12 22:42:16 | [Mutex] received everything. 2021-05-12 22:42:16 | [Mutex] isItemNotified: user_regular560w8g0202@test-domain.com:message:received:content_cnooyv0206 :: true 2021-05-12 22:42:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-12 22:42:16 | [Mutex] received everything. 2021-05-12 22:42:16 | [Mutex] isItemNotified: node_ew0b3v0203:subscribe_node:success :: true 2021-05-12 22:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:42:16 | command: <data><node>node_ew0b3v0203</node><expire-at>2021-05-13T05:42:21Z</expire-at><entry><content>content_gmxgyx0207</content></entry></data> 2021-05-12 22:42:16 | target: http://localhost:8088 2021-05-12 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-12 22:42:16 | entity: <data><node>node_ew0b3v0203</node><expire-at>2021-05-13T05:42:21Z</expire-at><entry><content>content_gmxgyx0207</content></entry></data> 2021-05-12 22:42:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:42:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:42:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6ad79147-44aa-4e5a-bb5c-75f0dad9341c</value></item-id></result> 2021-05-12 22:42:17 | contains: true 2021-05-12 22:42:25 | [Mutex] waiting for: [user_regular560w8g0202@test-domain.com:message:received:content_gmxgyx0207] 2021-05-12 22:42:25 | [Mutex] waiting for: [user_regular560w8g0202@test-domain.com:message:received:content_gmxgyx0207] 2021-05-12 22:42:25 | [Mutex] waiting for: [user_regular560w8g0202@test-domain.com:message:received:content_gmxgyx0207] 2021-05-12 22:42:40 | [Mutex] timeout. Not received [user_regular560w8g0202@test-domain.com:message:received:content_gmxgyx0207] 2021-05-12 22:42:40 | [Mutex] received everything. 2021-05-12 22:42:40 | [Mutex] isItemNotified: user_regular560w8g0202@test-domain.com:message:received:content_gmxgyx0207 :: false 2021-05-12 22:42:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gmxgyx0207 :: true |