Test duration : 44.796s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.740s |
2023-02-24 16:01:38 |
2023-02-24 16:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-24 16:01:38 | ------------------------------------ 2023-02-24 16:01:38 | [Mutex] isItemNotified: node_evfso50204:exists :: false 2023-02-24 16:01:38 | [Mutex] waiting for: [node_evfso50204:create_node] 2023-02-24 16:01:38 | [Mutex] received everything. 2023-02-24 16:01:38 | [Mutex] isItemNotified: node_evfso50204:create_node:success :: true 2023-02-24 16:01:38 | [Mutex] waiting for: [node_evfso50204:subscribe_node] 2023-02-24 16:01:38 | [Mutex] received everything. 2023-02-24 16:01:38 | [Mutex] isItemNotified: node_evfso50204:subscribe_node:success :: true 2023-02-24 16:01:38 | ===== publishing normal message (to online) 2023-02-24 16:01:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-24 16:01:38 | command: <data><node>node_evfso50204</node><entry><content>content_vd8arx0205</content></entry></data> 2023-02-24 16:01:38 | target: http://localhost:8088 2023-02-24 16:01:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-24 16:01:38 | entity: <data><node>node_evfso50204</node><entry><content>content_vd8arx0205</content></entry></data> 2023-02-24 16:01:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:01:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-24 16:01:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70ea3e4e-a755-406f-b2eb-2911a09f2b74</value></item-id></result> 2023-02-24 16:01:38 | contains: true 2023-02-24 16:01:38 | [Mutex] waiting for: [user_regularm7giak0203@test-domain.com:message:received:content_vd8arx0205] 2023-02-24 16:01:38 | [Mutex] received everything. 2023-02-24 16:01:38 | [Mutex] isItemNotified: user_regularm7giak0203@test-domain.com:message:received:content_vd8arx0205 :: true 2023-02-24 16:01:38 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-24 16:01:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-24 16:01:38 | command: <data><node>node_evfso50204</node><expire-at>2023-02-25T00:01:33Z</expire-at><entry><content>content_z41xcb0206</content></entry></data> 2023-02-24 16:01:38 | target: http://localhost:8088 2023-02-24 16:01:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-24 16:01:38 | entity: <data><node>node_evfso50204</node><expire-at>2023-02-25T00:01:33Z</expire-at><entry><content>content_z41xcb0206</content></entry></data> 2023-02-24 16:01:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:01:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-24 16:01:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>527ef036-c65b-4265-b071-6d1dc564a789</value></item-id></result> 2023-02-24 16:01:38 | contains: true 2023-02-24 16:01:38 | [Mutex] waiting for: [user_regularm7giak0203@test-domain.com:message:received:content_z41xcb0206] 2023-02-24 16:01:53 | [Mutex] timeout. Not received [user_regularm7giak0203@test-domain.com:message:received:content_z41xcb0206] 2023-02-24 16:01:53 | [Mutex] isItemNotified: user_regularm7giak0203@test-domain.com:message:received:content_z41xcb0206 :: false 2023-02-24 16:01:53 | ===== publishing normal message (to offline) 2023-02-24 16:01:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-24 16:01:53 | command: <data><node>node_evfso50204</node><entry><content>content_qo6wxm0207</content></entry></data> 2023-02-24 16:01:53 | target: http://localhost:8088 2023-02-24 16:01:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-24 16:01:53 | entity: <data><node>node_evfso50204</node><entry><content>content_qo6wxm0207</content></entry></data> 2023-02-24 16:01:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:01:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-24 16:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a5dc39bc-f36b-417b-890c-d903d6cb2d33</value></item-id></result> 2023-02-24 16:01:53 | contains: true 2023-02-24 16:01:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-24 16:01:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-24 16:01:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-24 16:01:58 | [Mutex] waiting for: [user_regularm7giak0203@test-domain.com:message:received:content_qo6wxm0207] 2023-02-24 16:01:58 | [Mutex] received everything. 2023-02-24 16:01:58 | [Mutex] isItemNotified: user_regularm7giak0203@test-domain.com:message:received:content_qo6wxm0207 :: true 2023-02-24 16:01:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-24 16:01:58 | [Mutex] received everything. 2023-02-24 16:01:58 | [Mutex] isItemNotified: node_evfso50204:subscribe_node:success :: true 2023-02-24 16:01:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-24 16:01:58 | command: <data><node>node_evfso50204</node><expire-at>2023-02-25T00:02:03Z</expire-at><entry><content>content_fn69k50208</content></entry></data> 2023-02-24 16:01:58 | target: http://localhost:8088 2023-02-24 16:01:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-24 16:01:58 | entity: <data><node>node_evfso50204</node><expire-at>2023-02-25T00:02:03Z</expire-at><entry><content>content_fn69k50208</content></entry></data> 2023-02-24 16:01:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:01:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-24 16:01:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>09ba2d59-c38c-498b-89a8-270698ab174a</value></item-id></result> 2023-02-24 16:01:58 | contains: true 2023-02-24 16:02:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-24 16:02:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-24 16:02:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-24 16:02:06 | [Mutex] waiting for: [user_regularm7giak0203@test-domain.com:message:received:content_fn69k50208] 2023-02-24 16:02:21 | [Mutex] timeout. Not received [user_regularm7giak0203@test-domain.com:message:received:content_fn69k50208] 2023-02-24 16:02:21 | [Mutex] received everything. 2023-02-24 16:02:21 | [Mutex] isItemNotified: user_regularm7giak0203@test-domain.com:message:received:content_fn69k50208 :: false 2023-02-24 16:02:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fn69k50208 :: true |