Test duration : 44.717s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.632s |
2022-08-30 23:06:43 |
2022-08-30 23:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-30 23:06:43 | ------------------------------------ 2022-08-30 23:06:43 | [Mutex] isItemNotified: node_jmfgvb0204:exists :: false 2022-08-30 23:06:43 | [Mutex] waiting for: [node_jmfgvb0204:create_node] 2022-08-30 23:06:43 | [Mutex] received everything. 2022-08-30 23:06:43 | [Mutex] isItemNotified: node_jmfgvb0204:create_node:success :: true 2022-08-30 23:06:43 | [Mutex] waiting for: [node_jmfgvb0204:subscribe_node] 2022-08-30 23:06:43 | [Mutex] waiting for: [node_jmfgvb0204:subscribe_node] 2022-08-30 23:06:43 | [Mutex] received everything. 2022-08-30 23:06:43 | [Mutex] isItemNotified: node_jmfgvb0204:subscribe_node:success :: true 2022-08-30 23:06:43 | ===== publishing normal message (to online) 2022-08-30 23:06:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-30 23:06:43 | command: <data><node>node_jmfgvb0204</node><entry><content>content_ixkbvn0205</content></entry></data> 2022-08-30 23:06:43 | target: http://localhost:8088 2022-08-30 23:06:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-30 23:06:43 | entity: <data><node>node_jmfgvb0204</node><entry><content>content_ixkbvn0205</content></entry></data> 2022-08-30 23:06:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:06:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-30 23:06:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e9e3c66-4453-44b5-b851-813feca4477c</value></item-id></result> 2022-08-30 23:06:43 | contains: true 2022-08-30 23:06:43 | [Mutex] received everything. 2022-08-30 23:06:43 | [Mutex] isItemNotified: user_regulartj398u0203@test-domain.com:message:received:content_ixkbvn0205 :: true 2022-08-30 23:06:43 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-30 23:06:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-30 23:06:43 | command: <data><node>node_jmfgvb0204</node><expire-at>2022-08-31T06:06:38Z</expire-at><entry><content>content_3gr9b40206</content></entry></data> 2022-08-30 23:06:43 | target: http://localhost:8088 2022-08-30 23:06:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-30 23:06:43 | entity: <data><node>node_jmfgvb0204</node><expire-at>2022-08-31T06:06:38Z</expire-at><entry><content>content_3gr9b40206</content></entry></data> 2022-08-30 23:06:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:06:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-30 23:06:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ccca433d-7949-4288-b6ec-dd56fea4f149</value></item-id></result> 2022-08-30 23:06:43 | contains: true 2022-08-30 23:06:43 | [Mutex] waiting for: [user_regulartj398u0203@test-domain.com:message:received:content_3gr9b40206] 2022-08-30 23:06:58 | [Mutex] timeout. Not received [user_regulartj398u0203@test-domain.com:message:received:content_3gr9b40206] 2022-08-30 23:06:58 | [Mutex] isItemNotified: user_regulartj398u0203@test-domain.com:message:received:content_3gr9b40206 :: false 2022-08-30 23:06:58 | ===== publishing normal message (to offline) 2022-08-30 23:06:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-30 23:06:58 | command: <data><node>node_jmfgvb0204</node><entry><content>content_94v6cw0207</content></entry></data> 2022-08-30 23:06:58 | target: http://localhost:8088 2022-08-30 23:06:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-30 23:06:58 | entity: <data><node>node_jmfgvb0204</node><entry><content>content_94v6cw0207</content></entry></data> 2022-08-30 23:06:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:06:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-30 23:06:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b557f6ff-997a-4132-a324-23f73b34954d</value></item-id></result> 2022-08-30 23:06:58 | contains: true 2022-08-30 23:07:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-30 23:07:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-30 23:07:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-30 23:07:03 | [Mutex] waiting for: [user_regulartj398u0203@test-domain.com:message:received:content_94v6cw0207] 2022-08-30 23:07:03 | [Mutex] waiting for: [user_regulartj398u0203@test-domain.com:message:received:content_94v6cw0207] 2022-08-30 23:07:03 | [Mutex] received everything. 2022-08-30 23:07:03 | [Mutex] isItemNotified: user_regulartj398u0203@test-domain.com:message:received:content_94v6cw0207 :: true 2022-08-30 23:07:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-30 23:07:03 | [Mutex] received everything. 2022-08-30 23:07:03 | [Mutex] isItemNotified: node_jmfgvb0204:subscribe_node:success :: true 2022-08-30 23:07:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-30 23:07:03 | command: <data><node>node_jmfgvb0204</node><expire-at>2022-08-31T06:07:08Z</expire-at><entry><content>content_8926ri0208</content></entry></data> 2022-08-30 23:07:03 | target: http://localhost:8088 2022-08-30 23:07:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-30 23:07:03 | entity: <data><node>node_jmfgvb0204</node><expire-at>2022-08-31T06:07:08Z</expire-at><entry><content>content_8926ri0208</content></entry></data> 2022-08-30 23:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 06:07:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-30 23:07:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>afa79e9d-af81-470a-9133-c66df54fc20d</value></item-id></result> 2022-08-30 23:07:03 | contains: true 2022-08-30 23:07:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-30 23:07:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-30 23:07:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-30 23:07:11 | [Mutex] waiting for: [user_regulartj398u0203@test-domain.com:message:received:content_8926ri0208] 2022-08-30 23:07:26 | [Mutex] timeout. Not received [user_regulartj398u0203@test-domain.com:message:received:content_8926ri0208] 2022-08-30 23:07:26 | [Mutex] received everything. 2022-08-30 23:07:26 | [Mutex] isItemNotified: user_regulartj398u0203@test-domain.com:message:received:content_8926ri0208 :: false 2022-08-30 23:07:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8926ri0208 :: true |