Test duration : 44.817s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2022-10-10 23:14:22 |
2022-10-10 23:14:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-10 23:14:22 | ------------------------------------ 2022-10-10 23:14:22 | [Mutex] isItemNotified: node_4smy7d0204:exists :: false 2022-10-10 23:14:22 | [Mutex] waiting for: [node_4smy7d0204:create_node] 2022-10-10 23:14:22 | [Mutex] received everything. 2022-10-10 23:14:22 | [Mutex] isItemNotified: node_4smy7d0204:create_node:success :: true 2022-10-10 23:14:22 | [Mutex] waiting for: [node_4smy7d0204:subscribe_node] 2022-10-10 23:14:22 | [Mutex] received everything. 2022-10-10 23:14:22 | [Mutex] isItemNotified: node_4smy7d0204:subscribe_node:success :: true 2022-10-10 23:14:22 | ===== publishing normal message (to online) 2022-10-10 23:14:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:14:22 | command: <data><node>node_4smy7d0204</node><entry><content>content_f1qlw80205</content></entry></data> 2022-10-10 23:14:22 | target: http://localhost:8088 2022-10-10 23:14:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-10 23:14:22 | entity: <data><node>node_4smy7d0204</node><entry><content>content_f1qlw80205</content></entry></data> 2022-10-10 23:14:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:14:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:14:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d4539ab-1599-4ef6-92a9-f883e2a09314</value></item-id></result> 2022-10-10 23:14:22 | contains: true 2022-10-10 23:14:22 | [Mutex] received everything. 2022-10-10 23:14:22 | [Mutex] isItemNotified: user_regular6n3exz0203@test-domain.com:message:received:content_f1qlw80205 :: true 2022-10-10 23:14:22 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-10 23:14:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:14:22 | command: <data><node>node_4smy7d0204</node><expire-at>2022-10-11T06:14:17Z</expire-at><entry><content>content_jkj1wu0206</content></entry></data> 2022-10-10 23:14:22 | target: http://localhost:8088 2022-10-10 23:14:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-10 23:14:22 | entity: <data><node>node_4smy7d0204</node><expire-at>2022-10-11T06:14:17Z</expire-at><entry><content>content_jkj1wu0206</content></entry></data> 2022-10-10 23:14:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:14:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:14:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1f49adb-21d8-458d-94a0-ce0616b24a18</value></item-id></result> 2022-10-10 23:14:22 | contains: true 2022-10-10 23:14:22 | [Mutex] waiting for: [user_regular6n3exz0203@test-domain.com:message:received:content_jkj1wu0206] 2022-10-10 23:14:37 | [Mutex] timeout. Not received [user_regular6n3exz0203@test-domain.com:message:received:content_jkj1wu0206] 2022-10-10 23:14:37 | [Mutex] isItemNotified: user_regular6n3exz0203@test-domain.com:message:received:content_jkj1wu0206 :: false 2022-10-10 23:14:37 | ===== publishing normal message (to offline) 2022-10-10 23:14:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:14:37 | command: <data><node>node_4smy7d0204</node><entry><content>content_b903820207</content></entry></data> 2022-10-10 23:14:37 | target: http://localhost:8088 2022-10-10 23:14:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-10 23:14:37 | entity: <data><node>node_4smy7d0204</node><entry><content>content_b903820207</content></entry></data> 2022-10-10 23:14:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:14:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:14:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9fb6b1e6-5b9a-45fa-973b-f471251962c8</value></item-id></result> 2022-10-10 23:14:37 | contains: true 2022-10-10 23:14:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-10 23:14:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-10 23:14:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-10 23:14:42 | [Mutex] waiting for: [user_regular6n3exz0203@test-domain.com:message:received:content_b903820207] 2022-10-10 23:14:42 | [Mutex] waiting for: [user_regular6n3exz0203@test-domain.com:message:received:content_b903820207] 2022-10-10 23:14:42 | [Mutex] received everything. 2022-10-10 23:14:42 | [Mutex] isItemNotified: user_regular6n3exz0203@test-domain.com:message:received:content_b903820207 :: true 2022-10-10 23:14:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-10 23:14:42 | [Mutex] received everything. 2022-10-10 23:14:42 | [Mutex] isItemNotified: node_4smy7d0204:subscribe_node:success :: true 2022-10-10 23:14:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:14:42 | command: <data><node>node_4smy7d0204</node><expire-at>2022-10-11T06:14:47Z</expire-at><entry><content>content_o3gi5e0208</content></entry></data> 2022-10-10 23:14:42 | target: http://localhost:8088 2022-10-10 23:14:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-10 23:14:42 | entity: <data><node>node_4smy7d0204</node><expire-at>2022-10-11T06:14:47Z</expire-at><entry><content>content_o3gi5e0208</content></entry></data> 2022-10-10 23:14:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:14:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:14:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6498dbc1-dff3-4bab-97fb-f61c2bd3fb6a</value></item-id></result> 2022-10-10 23:14:42 | contains: true 2022-10-10 23:14:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-10 23:14:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-10 23:14:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-10 23:14:50 | [Mutex] waiting for: [user_regular6n3exz0203@test-domain.com:message:received:content_o3gi5e0208] 2022-10-10 23:14:50 | [Mutex] waiting for: [user_regular6n3exz0203@test-domain.com:message:received:content_o3gi5e0208] 2022-10-10 23:14:50 | [Mutex] waiting for: [user_regular6n3exz0203@test-domain.com:message:received:content_o3gi5e0208] 2022-10-10 23:15:05 | [Mutex] timeout. Not received [user_regular6n3exz0203@test-domain.com:message:received:content_o3gi5e0208] 2022-10-10 23:15:05 | [Mutex] received everything. 2022-10-10 23:15:05 | [Mutex] isItemNotified: user_regular6n3exz0203@test-domain.com:message:received:content_o3gi5e0208 :: false 2022-10-10 23:15:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o3gi5e0208 :: true |