Test duration : 44.873s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.636s |
2023-03-17 22:30:03 |
2023-03-17 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-17 22:30:03 | ------------------------------------ 2023-03-17 22:30:03 | [Mutex] isItemNotified: node_3dyyxw0208:exists :: false 2023-03-17 22:30:03 | [Mutex] waiting for: [node_3dyyxw0208:create_node] 2023-03-17 22:30:03 | [Mutex] received everything. 2023-03-17 22:30:03 | [Mutex] isItemNotified: node_3dyyxw0208:create_node:success :: true 2023-03-17 22:30:03 | [Mutex] waiting for: [node_3dyyxw0208:subscribe_node] 2023-03-17 22:30:03 | [Mutex] waiting for: [node_3dyyxw0208:subscribe_node] 2023-03-17 22:30:03 | [Mutex] received everything. 2023-03-17 22:30:03 | [Mutex] isItemNotified: node_3dyyxw0208:subscribe_node:success :: true 2023-03-17 22:30:03 | ===== publishing normal message (to online) 2023-03-17 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:30:03 | command: <data><node>node_3dyyxw0208</node><entry><content>content_vz9hoq0209</content></entry></data> 2023-03-17 22:30:03 | target: http://localhost:8088 2023-03-17 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-17 22:30:03 | entity: <data><node>node_3dyyxw0208</node><entry><content>content_vz9hoq0209</content></entry></data> 2023-03-17 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>07167139-f47f-496a-bbef-c1190ea3b5d0</value></item-id></result> 2023-03-17 22:30:03 | contains: true 2023-03-17 22:30:03 | [Mutex] received everything. 2023-03-17 22:30:03 | [Mutex] isItemNotified: user_regular3w28f60207@test-domain.com:message:received:content_vz9hoq0209 :: true 2023-03-17 22:30:03 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-17 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:30:03 | command: <data><node>node_3dyyxw0208</node><expire-at>2023-03-18T05:29:58Z</expire-at><entry><content>content_p1wpay0210</content></entry></data> 2023-03-17 22:30:03 | target: http://localhost:8088 2023-03-17 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-17 22:30:03 | entity: <data><node>node_3dyyxw0208</node><expire-at>2023-03-18T05:29:58Z</expire-at><entry><content>content_p1wpay0210</content></entry></data> 2023-03-17 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e925df71-e061-4c22-b3f6-0424d577218b</value></item-id></result> 2023-03-17 22:30:03 | contains: true 2023-03-17 22:30:03 | [Mutex] waiting for: [user_regular3w28f60207@test-domain.com:message:received:content_p1wpay0210] 2023-03-17 22:30:18 | [Mutex] timeout. Not received [user_regular3w28f60207@test-domain.com:message:received:content_p1wpay0210] 2023-03-17 22:30:18 | [Mutex] isItemNotified: user_regular3w28f60207@test-domain.com:message:received:content_p1wpay0210 :: false 2023-03-17 22:30:18 | ===== publishing normal message (to offline) 2023-03-17 22:30:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:30:18 | command: <data><node>node_3dyyxw0208</node><entry><content>content_m3aoqz0211</content></entry></data> 2023-03-17 22:30:18 | target: http://localhost:8088 2023-03-17 22:30:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-17 22:30:18 | entity: <data><node>node_3dyyxw0208</node><entry><content>content_m3aoqz0211</content></entry></data> 2023-03-17 22:30:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:30:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:30:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>723a08d4-eb55-4125-81b6-e3a9b5560d89</value></item-id></result> 2023-03-17 22:30:18 | contains: true 2023-03-17 22:30:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-17 22:30:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-17 22:30:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-17 22:30:23 | [Mutex] waiting for: [user_regular3w28f60207@test-domain.com:message:received:content_m3aoqz0211] 2023-03-17 22:30:23 | [Mutex] waiting for: [user_regular3w28f60207@test-domain.com:message:received:content_m3aoqz0211] 2023-03-17 22:30:23 | [Mutex] received everything. 2023-03-17 22:30:23 | [Mutex] isItemNotified: user_regular3w28f60207@test-domain.com:message:received:content_m3aoqz0211 :: true 2023-03-17 22:30:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-17 22:30:23 | [Mutex] received everything. 2023-03-17 22:30:23 | [Mutex] isItemNotified: node_3dyyxw0208:subscribe_node:success :: true 2023-03-17 22:30:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:30:23 | command: <data><node>node_3dyyxw0208</node><expire-at>2023-03-18T05:30:28Z</expire-at><entry><content>content_kr76oo0212</content></entry></data> 2023-03-17 22:30:23 | target: http://localhost:8088 2023-03-17 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-17 22:30:23 | entity: <data><node>node_3dyyxw0208</node><expire-at>2023-03-18T05:30:28Z</expire-at><entry><content>content_kr76oo0212</content></entry></data> 2023-03-17 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:30:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:30:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a4f89cd9-e784-440e-98af-5636be4513d8</value></item-id></result> 2023-03-17 22:30:23 | contains: true 2023-03-17 22:30:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-17 22:30:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-17 22:30:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-17 22:30:32 | [Mutex] waiting for: [user_regular3w28f60207@test-domain.com:message:received:content_kr76oo0212] 2023-03-17 22:30:32 | [Mutex] waiting for: [user_regular3w28f60207@test-domain.com:message:received:content_kr76oo0212] 2023-03-17 22:30:32 | [Mutex] waiting for: [user_regular3w28f60207@test-domain.com:message:received:content_kr76oo0212] 2023-03-17 22:30:47 | [Mutex] timeout. Not received [user_regular3w28f60207@test-domain.com:message:received:content_kr76oo0212] 2023-03-17 22:30:47 | [Mutex] received everything. 2023-03-17 22:30:47 | [Mutex] isItemNotified: user_regular3w28f60207@test-domain.com:message:received:content_kr76oo0212 :: false 2023-03-17 22:30:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kr76oo0212 :: true |