Test duration : 44.742s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.637s |
2022-10-23 23:53:31 |
2022-10-23 23:53:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-23 23:53:31 | ------------------------------------ 2022-10-23 23:53:31 | [Mutex] isItemNotified: node_czyw930204:exists :: false 2022-10-23 23:53:31 | [Mutex] waiting for: [node_czyw930204:create_node] 2022-10-23 23:53:31 | [Mutex] waiting for: [node_czyw930204:create_node] 2022-10-23 23:53:31 | [Mutex] received everything. 2022-10-23 23:53:31 | [Mutex] isItemNotified: node_czyw930204:create_node:success :: true 2022-10-23 23:53:31 | [Mutex] waiting for: [node_czyw930204:subscribe_node] 2022-10-23 23:53:31 | [Mutex] waiting for: [node_czyw930204:subscribe_node] 2022-10-23 23:53:31 | [Mutex] received everything. 2022-10-23 23:53:31 | [Mutex] isItemNotified: node_czyw930204:subscribe_node:success :: true 2022-10-23 23:53:31 | ===== publishing normal message (to online) 2022-10-23 23:53:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:53:31 | command: <data><node>node_czyw930204</node><entry><content>content_euodg70205</content></entry></data> 2022-10-23 23:53:31 | target: http://localhost:8088 2022-10-23 23:53:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-23 23:53:31 | entity: <data><node>node_czyw930204</node><entry><content>content_euodg70205</content></entry></data> 2022-10-23 23:53:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:53:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:53:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>751f5e8b-c63a-47a9-b3ad-533c2ebeb681</value></item-id></result> 2022-10-23 23:53:31 | contains: true 2022-10-23 23:53:31 | [Mutex] waiting for: [user_regular411p6z0203@test-domain.com:message:received:content_euodg70205] 2022-10-23 23:53:31 | [Mutex] received everything. 2022-10-23 23:53:31 | [Mutex] isItemNotified: user_regular411p6z0203@test-domain.com:message:received:content_euodg70205 :: true 2022-10-23 23:53:31 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-23 23:53:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:53:31 | command: <data><node>node_czyw930204</node><expire-at>2022-10-24T06:53:26Z</expire-at><entry><content>content_sy9zr70206</content></entry></data> 2022-10-23 23:53:31 | target: http://localhost:8088 2022-10-23 23:53:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-23 23:53:31 | entity: <data><node>node_czyw930204</node><expire-at>2022-10-24T06:53:26Z</expire-at><entry><content>content_sy9zr70206</content></entry></data> 2022-10-23 23:53:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:53:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:53:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3dfa9d3c-720a-47e3-831c-7876340a9043</value></item-id></result> 2022-10-23 23:53:31 | contains: true 2022-10-23 23:53:31 | [Mutex] waiting for: [user_regular411p6z0203@test-domain.com:message:received:content_sy9zr70206] 2022-10-23 23:53:46 | [Mutex] timeout. Not received [user_regular411p6z0203@test-domain.com:message:received:content_sy9zr70206] 2022-10-23 23:53:46 | [Mutex] isItemNotified: user_regular411p6z0203@test-domain.com:message:received:content_sy9zr70206 :: false 2022-10-23 23:53:46 | ===== publishing normal message (to offline) 2022-10-23 23:53:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:53:47 | command: <data><node>node_czyw930204</node><entry><content>content_3t22mx0207</content></entry></data> 2022-10-23 23:53:47 | target: http://localhost:8088 2022-10-23 23:53:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-23 23:53:47 | entity: <data><node>node_czyw930204</node><entry><content>content_3t22mx0207</content></entry></data> 2022-10-23 23:53:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:53:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:53:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22aae350-4c5f-4320-8bfc-1fca7a007c49</value></item-id></result> 2022-10-23 23:53:47 | contains: true 2022-10-23 23:53:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-23 23:53:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-23 23:53:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-23 23:53:52 | [Mutex] waiting for: [user_regular411p6z0203@test-domain.com:message:received:content_3t22mx0207] 2022-10-23 23:53:52 | [Mutex] received everything. 2022-10-23 23:53:52 | [Mutex] isItemNotified: user_regular411p6z0203@test-domain.com:message:received:content_3t22mx0207 :: true 2022-10-23 23:53:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-23 23:53:52 | [Mutex] received everything. 2022-10-23 23:53:52 | [Mutex] isItemNotified: node_czyw930204:subscribe_node:success :: true 2022-10-23 23:53:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:53:52 | command: <data><node>node_czyw930204</node><expire-at>2022-10-24T06:53:57Z</expire-at><entry><content>content_gfbimq0208</content></entry></data> 2022-10-23 23:53:52 | target: http://localhost:8088 2022-10-23 23:53:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-23 23:53:52 | entity: <data><node>node_czyw930204</node><expire-at>2022-10-24T06:53:57Z</expire-at><entry><content>content_gfbimq0208</content></entry></data> 2022-10-23 23:53:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:53:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:53:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6144e8db-5935-4bbe-a376-d3f320682021</value></item-id></result> 2022-10-23 23:53:52 | contains: true 2022-10-23 23:54:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-23 23:54:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-23 23:54:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-23 23:54:00 | [Mutex] waiting for: [user_regular411p6z0203@test-domain.com:message:received:content_gfbimq0208] 2022-10-23 23:54:15 | [Mutex] timeout. Not received [user_regular411p6z0203@test-domain.com:message:received:content_gfbimq0208] 2022-10-23 23:54:15 | [Mutex] received everything. 2022-10-23 23:54:15 | [Mutex] isItemNotified: user_regular411p6z0203@test-domain.com:message:received:content_gfbimq0208 :: false 2022-10-23 23:54:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gfbimq0208 :: true |