Test duration : 44.697s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.603s |
2022-12-16 22:01:53 |
2022-12-16 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-16 22:01:53 | ------------------------------------ 2022-12-16 22:01:53 | [Mutex] isItemNotified: node_8t9i940204:exists :: false 2022-12-16 22:01:53 | [Mutex] waiting for: [node_8t9i940204:create_node] 2022-12-16 22:01:53 | [Mutex] waiting for: [node_8t9i940204:create_node] 2022-12-16 22:01:53 | [Mutex] received everything. 2022-12-16 22:01:53 | [Mutex] isItemNotified: node_8t9i940204:create_node:success :: true 2022-12-16 22:01:53 | [Mutex] waiting for: [node_8t9i940204:subscribe_node] 2022-12-16 22:01:53 | [Mutex] waiting for: [node_8t9i940204:subscribe_node] 2022-12-16 22:01:53 | [Mutex] received everything. 2022-12-16 22:01:53 | [Mutex] isItemNotified: node_8t9i940204:subscribe_node:success :: true 2022-12-16 22:01:53 | ===== publishing normal message (to online) 2022-12-16 22:01:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 22:01:53 | command: <data><node>node_8t9i940204</node><entry><content>content_yxo2bq0205</content></entry></data> 2022-12-16 22:01:53 | target: http://localhost:8088 2022-12-16 22:01:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-16 22:01:53 | entity: <data><node>node_8t9i940204</node><entry><content>content_yxo2bq0205</content></entry></data> 2022-12-16 22:01:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 06:01:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 22:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>02fabf82-1882-440a-a7b7-c34c02e16b19</value></item-id></result> 2022-12-16 22:01:53 | contains: true 2022-12-16 22:01:53 | [Mutex] received everything. 2022-12-16 22:01:53 | [Mutex] isItemNotified: user_regularnhjmrd0203@test-domain.com:message:received:content_yxo2bq0205 :: true 2022-12-16 22:01:53 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-16 22:01:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 22:01:53 | command: <data><node>node_8t9i940204</node><expire-at>2022-12-17T06:01:48Z</expire-at><entry><content>content_canpgr0206</content></entry></data> 2022-12-16 22:01:53 | target: http://localhost:8088 2022-12-16 22:01:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-16 22:01:53 | entity: <data><node>node_8t9i940204</node><expire-at>2022-12-17T06:01:48Z</expire-at><entry><content>content_canpgr0206</content></entry></data> 2022-12-16 22:01:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 06:01:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 22:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f10d0479-d5a0-4410-9be2-0c0fbc58ebc6</value></item-id></result> 2022-12-16 22:01:53 | contains: true 2022-12-16 22:01:53 | [Mutex] waiting for: [user_regularnhjmrd0203@test-domain.com:message:received:content_canpgr0206] 2022-12-16 22:02:08 | [Mutex] timeout. Not received [user_regularnhjmrd0203@test-domain.com:message:received:content_canpgr0206] 2022-12-16 22:02:08 | [Mutex] isItemNotified: user_regularnhjmrd0203@test-domain.com:message:received:content_canpgr0206 :: false 2022-12-16 22:02:08 | ===== publishing normal message (to offline) 2022-12-16 22:02:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 22:02:09 | command: <data><node>node_8t9i940204</node><entry><content>content_9stae00207</content></entry></data> 2022-12-16 22:02:09 | target: http://localhost:8088 2022-12-16 22:02:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-16 22:02:09 | entity: <data><node>node_8t9i940204</node><entry><content>content_9stae00207</content></entry></data> 2022-12-16 22:02:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 06:02:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 22:02:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d06448cc-1ee6-449f-9f35-fa3e84a6be56</value></item-id></result> 2022-12-16 22:02:09 | contains: true 2022-12-16 22:02:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 22:02:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 22:02:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 22:02:14 | [Mutex] waiting for: [user_regularnhjmrd0203@test-domain.com:message:received:content_9stae00207] 2022-12-16 22:02:14 | [Mutex] waiting for: [user_regularnhjmrd0203@test-domain.com:message:received:content_9stae00207] 2022-12-16 22:02:14 | [Mutex] received everything. 2022-12-16 22:02:14 | [Mutex] isItemNotified: user_regularnhjmrd0203@test-domain.com:message:received:content_9stae00207 :: true 2022-12-16 22:02:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-16 22:02:14 | [Mutex] received everything. 2022-12-16 22:02:14 | [Mutex] isItemNotified: node_8t9i940204:subscribe_node:success :: true 2022-12-16 22:02:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 22:02:14 | command: <data><node>node_8t9i940204</node><expire-at>2022-12-17T06:02:19Z</expire-at><entry><content>content_55u47b0208</content></entry></data> 2022-12-16 22:02:14 | target: http://localhost:8088 2022-12-16 22:02:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-16 22:02:14 | entity: <data><node>node_8t9i940204</node><expire-at>2022-12-17T06:02:19Z</expire-at><entry><content>content_55u47b0208</content></entry></data> 2022-12-16 22:02:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 06:02:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 22:02:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2a316e2-9f0e-42b2-85f9-a68dc7e5ba07</value></item-id></result> 2022-12-16 22:02:14 | contains: true 2022-12-16 22:02:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 22:02:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 22:02:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 22:02:22 | [Mutex] waiting for: [user_regularnhjmrd0203@test-domain.com:message:received:content_55u47b0208] 2022-12-16 22:02:22 | [Mutex] waiting for: [user_regularnhjmrd0203@test-domain.com:message:received:content_55u47b0208] 2022-12-16 22:02:22 | [Mutex] waiting for: [user_regularnhjmrd0203@test-domain.com:message:received:content_55u47b0208] 2022-12-16 22:02:37 | [Mutex] timeout. Not received [user_regularnhjmrd0203@test-domain.com:message:received:content_55u47b0208] 2022-12-16 22:02:37 | [Mutex] received everything. 2022-12-16 22:02:37 | [Mutex] isItemNotified: user_regularnhjmrd0203@test-domain.com:message:received:content_55u47b0208 :: false 2022-12-16 22:02:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_55u47b0208 :: true |