Test duration : 45.158s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.613s |
2022-02-21 22:04:22 |
2022-02-21 22:04:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-21 22:04:22 | ------------------------------------ 2022-02-21 22:04:22 | [Mutex] isItemNotified: node_uoyr7l0203:exists :: false 2022-02-21 22:04:22 | [Mutex] waiting for: [node_uoyr7l0203:create_node] 2022-02-21 22:04:22 | [Mutex] received everything. 2022-02-21 22:04:22 | [Mutex] isItemNotified: node_uoyr7l0203:create_node:success :: true 2022-02-21 22:04:22 | [Mutex] waiting for: [node_uoyr7l0203:subscribe_node] 2022-02-21 22:04:22 | [Mutex] waiting for: [node_uoyr7l0203:subscribe_node] 2022-02-21 22:04:22 | [Mutex] received everything. 2022-02-21 22:04:22 | [Mutex] isItemNotified: node_uoyr7l0203:subscribe_node:success :: true 2022-02-21 22:04:22 | ===== publishing normal message (to online) 2022-02-21 22:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:04:22 | command: <data><node>node_uoyr7l0203</node><entry><content>content_3yrve50204</content></entry></data> 2022-02-21 22:04:22 | target: http://localhost:8088 2022-02-21 22:04:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-21 22:04:22 | entity: <data><node>node_uoyr7l0203</node><entry><content>content_3yrve50204</content></entry></data> 2022-02-21 22:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a940118-45ea-4ec2-83ae-dadae6bb2c50</value></item-id></result> 2022-02-21 22:04:22 | contains: true 2022-02-21 22:04:22 | [Mutex] waiting for: [user_regular55udpg0202@test-domain.com:message:received:content_3yrve50204] 2022-02-21 22:04:22 | [Mutex] received everything. 2022-02-21 22:04:22 | [Mutex] isItemNotified: user_regular55udpg0202@test-domain.com:message:received:content_3yrve50204 :: true 2022-02-21 22:04:22 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-21 22:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:04:22 | command: <data><node>node_uoyr7l0203</node><expire-at>2022-02-22T06:04:17Z</expire-at><entry><content>content_2g6je0205</content></entry></data> 2022-02-21 22:04:22 | target: http://localhost:8088 2022-02-21 22:04:22 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-02-21 22:04:22 | entity: <data><node>node_uoyr7l0203</node><expire-at>2022-02-22T06:04:17Z</expire-at><entry><content>content_2g6je0205</content></entry></data> 2022-02-21 22:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8bdf157-381d-4a11-b6b9-24b6dc4d9701</value></item-id></result> 2022-02-21 22:04:22 | contains: true 2022-02-21 22:04:22 | [Mutex] waiting for: [user_regular55udpg0202@test-domain.com:message:received:content_2g6je0205] 2022-02-21 22:04:37 | [Mutex] timeout. Not received [user_regular55udpg0202@test-domain.com:message:received:content_2g6je0205] 2022-02-21 22:04:37 | [Mutex] isItemNotified: user_regular55udpg0202@test-domain.com:message:received:content_2g6je0205 :: false 2022-02-21 22:04:37 | ===== publishing normal message (to offline) 2022-02-21 22:04:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:04:37 | command: <data><node>node_uoyr7l0203</node><entry><content>content_hgjq140206</content></entry></data> 2022-02-21 22:04:37 | target: http://localhost:8088 2022-02-21 22:04:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-21 22:04:37 | entity: <data><node>node_uoyr7l0203</node><entry><content>content_hgjq140206</content></entry></data> 2022-02-21 22:04:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:04:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:04:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>538f0c35-cfcf-4fe2-b388-37e3d2b1e243</value></item-id></result> 2022-02-21 22:04:37 | contains: true 2022-02-21 22:04:42 | [Mutex] waiting for: [user_regular55udpg0202@test-domain.com:message:received:content_hgjq140206] 2022-02-21 22:04:42 | [Mutex] received everything. 2022-02-21 22:04:42 | [Mutex] isItemNotified: user_regular55udpg0202@test-domain.com:message:received:content_hgjq140206 :: true 2022-02-21 22:04:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-21 22:04:42 | [Mutex] received everything. 2022-02-21 22:04:42 | [Mutex] isItemNotified: node_uoyr7l0203:subscribe_node:success :: true 2022-02-21 22:04:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-21 22:04:42 | command: <data><node>node_uoyr7l0203</node><expire-at>2022-02-22T06:04:47Z</expire-at><entry><content>content_5t9pti0207</content></entry></data> 2022-02-21 22:04:42 | target: http://localhost:8088 2022-02-21 22:04:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-21 22:04:42 | entity: <data><node>node_uoyr7l0203</node><expire-at>2022-02-22T06:04:47Z</expire-at><entry><content>content_5t9pti0207</content></entry></data> 2022-02-21 22:04:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Feb 2022 06:04:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-21 22:04:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb153e82-4961-460d-bae6-4400fb84ac60</value></item-id></result> 2022-02-21 22:04:42 | contains: true 2022-02-21 22:04:50 | [Mutex] waiting for: [user_regular55udpg0202@test-domain.com:message:received:content_5t9pti0207] 2022-02-21 22:04:50 | [Mutex] waiting for: [user_regular55udpg0202@test-domain.com:message:received:content_5t9pti0207] 2022-02-21 22:04:50 | [Mutex] waiting for: [user_regular55udpg0202@test-domain.com:message:received:content_5t9pti0207] 2022-02-21 22:05:05 | [Mutex] timeout. Not received [user_regular55udpg0202@test-domain.com:message:received:content_5t9pti0207] 2022-02-21 22:05:05 | [Mutex] received everything. 2022-02-21 22:05:05 | [Mutex] isItemNotified: user_regular55udpg0202@test-domain.com:message:received:content_5t9pti0207 :: false 2022-02-21 22:05:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5t9pti0207 :: true |