Test duration : 44.698s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.581s |
2022-06-14 23:03:56 |
2022-06-14 23:03:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-14 23:03:56 | ------------------------------------ 2022-06-14 23:03:56 | [Mutex] isItemNotified: node_b2dlne0204:exists :: false 2022-06-14 23:03:56 | [Mutex] waiting for: [node_b2dlne0204:create_node] 2022-06-14 23:03:56 | [Mutex] received everything. 2022-06-14 23:03:56 | [Mutex] isItemNotified: node_b2dlne0204:create_node:success :: true 2022-06-14 23:03:56 | [Mutex] waiting for: [node_b2dlne0204:subscribe_node] 2022-06-14 23:03:56 | [Mutex] received everything. 2022-06-14 23:03:56 | [Mutex] isItemNotified: node_b2dlne0204:subscribe_node:success :: true 2022-06-14 23:03:56 | ===== publishing normal message (to online) 2022-06-14 23:03:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 23:03:56 | command: <data><node>node_b2dlne0204</node><entry><content>content_lecmog0205</content></entry></data> 2022-06-14 23:03:56 | target: http://localhost:8088 2022-06-14 23:03:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-14 23:03:56 | entity: <data><node>node_b2dlne0204</node><entry><content>content_lecmog0205</content></entry></data> 2022-06-14 23:03:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 06:03:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 23:03:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14b14f28-dcd1-4810-9024-664eecf09a83</value></item-id></result> 2022-06-14 23:03:56 | contains: true 2022-06-14 23:03:56 | [Mutex] received everything. 2022-06-14 23:03:56 | [Mutex] isItemNotified: user_regular2zo60r0203@test-domain.com:message:received:content_lecmog0205 :: true 2022-06-14 23:03:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-14 23:03:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 23:03:56 | command: <data><node>node_b2dlne0204</node><expire-at>2022-06-15T06:03:51Z</expire-at><entry><content>content_x575jh0206</content></entry></data> 2022-06-14 23:03:56 | target: http://localhost:8088 2022-06-14 23:03:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-14 23:03:56 | entity: <data><node>node_b2dlne0204</node><expire-at>2022-06-15T06:03:51Z</expire-at><entry><content>content_x575jh0206</content></entry></data> 2022-06-14 23:03:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 06:03:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 23:03:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>06226782-4ba7-4ed8-b170-ff796b160ac5</value></item-id></result> 2022-06-14 23:03:56 | contains: true 2022-06-14 23:03:56 | [Mutex] waiting for: [user_regular2zo60r0203@test-domain.com:message:received:content_x575jh0206] 2022-06-14 23:04:11 | [Mutex] timeout. Not received [user_regular2zo60r0203@test-domain.com:message:received:content_x575jh0206] 2022-06-14 23:04:11 | [Mutex] isItemNotified: user_regular2zo60r0203@test-domain.com:message:received:content_x575jh0206 :: false 2022-06-14 23:04:11 | ===== publishing normal message (to offline) 2022-06-14 23:04:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 23:04:11 | command: <data><node>node_b2dlne0204</node><entry><content>content_mb7gtb0207</content></entry></data> 2022-06-14 23:04:11 | target: http://localhost:8088 2022-06-14 23:04:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-14 23:04:11 | entity: <data><node>node_b2dlne0204</node><entry><content>content_mb7gtb0207</content></entry></data> 2022-06-14 23:04:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 06:04:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 23:04:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fccf67e6-7dd4-40bd-b61a-1ce94c1694c0</value></item-id></result> 2022-06-14 23:04:11 | contains: true 2022-06-14 23:04:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-14 23:04:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-14 23:04:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-14 23:04:16 | [Mutex] waiting for: [user_regular2zo60r0203@test-domain.com:message:received:content_mb7gtb0207] 2022-06-14 23:04:16 | [Mutex] waiting for: [user_regular2zo60r0203@test-domain.com:message:received:content_mb7gtb0207] 2022-06-14 23:04:16 | [Mutex] received everything. 2022-06-14 23:04:16 | [Mutex] isItemNotified: user_regular2zo60r0203@test-domain.com:message:received:content_mb7gtb0207 :: true 2022-06-14 23:04:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-14 23:04:16 | [Mutex] received everything. 2022-06-14 23:04:16 | [Mutex] isItemNotified: node_b2dlne0204:subscribe_node:success :: true 2022-06-14 23:04:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 23:04:16 | command: <data><node>node_b2dlne0204</node><expire-at>2022-06-15T06:04:21Z</expire-at><entry><content>content_fqliox0208</content></entry></data> 2022-06-14 23:04:16 | target: http://localhost:8088 2022-06-14 23:04:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-14 23:04:16 | entity: <data><node>node_b2dlne0204</node><expire-at>2022-06-15T06:04:21Z</expire-at><entry><content>content_fqliox0208</content></entry></data> 2022-06-14 23:04:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 06:04:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 23:04:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>445dd6e2-132a-4fa6-8e98-761191f9c2d9</value></item-id></result> 2022-06-14 23:04:16 | contains: true 2022-06-14 23:04:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-14 23:04:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-14 23:04:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-14 23:04:25 | [Mutex] waiting for: [user_regular2zo60r0203@test-domain.com:message:received:content_fqliox0208] 2022-06-14 23:04:40 | [Mutex] timeout. Not received [user_regular2zo60r0203@test-domain.com:message:received:content_fqliox0208] 2022-06-14 23:04:40 | [Mutex] received everything. 2022-06-14 23:04:40 | [Mutex] isItemNotified: user_regular2zo60r0203@test-domain.com:message:received:content_fqliox0208 :: false 2022-06-14 23:04:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fqliox0208 :: true |