Test duration : 44.729s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.556s |
2023-01-10 21:29:41 |
2023-01-10 21:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-01-10 21:29:41 | ------------------------------------ 2023-01-10 21:29:41 | [Mutex] isItemNotified: node_rwc3b40204:exists :: false 2023-01-10 21:29:41 | [Mutex] waiting for: [node_rwc3b40204:create_node] 2023-01-10 21:29:41 | [Mutex] received everything. 2023-01-10 21:29:41 | [Mutex] isItemNotified: node_rwc3b40204:create_node:success :: true 2023-01-10 21:29:41 | [Mutex] waiting for: [node_rwc3b40204:subscribe_node] 2023-01-10 21:29:41 | [Mutex] received everything. 2023-01-10 21:29:41 | [Mutex] isItemNotified: node_rwc3b40204:subscribe_node:success :: true 2023-01-10 21:29:41 | ===== publishing normal message (to online) 2023-01-10 21:29:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:29:41 | command: <data><node>node_rwc3b40204</node><entry><content>content_7ooli20205</content></entry></data> 2023-01-10 21:29:41 | target: http://localhost:8088 2023-01-10 21:29:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-01-10 21:29:41 | entity: <data><node>node_rwc3b40204</node><entry><content>content_7ooli20205</content></entry></data> 2023-01-10 21:29:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:29:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:29:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86909727-d3a9-4de7-b610-d8453cb821cc</value></item-id></result> 2023-01-10 21:29:41 | contains: true 2023-01-10 21:29:41 | [Mutex] received everything. 2023-01-10 21:29:41 | [Mutex] isItemNotified: user_regulartcun2x0203@test-domain.com:message:received:content_7ooli20205 :: true 2023-01-10 21:29:41 | ===== publishing already old message - expecting message being filtered out (to online) 2023-01-10 21:29:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:29:41 | command: <data><node>node_rwc3b40204</node><expire-at>2023-01-11T05:29:36Z</expire-at><entry><content>content_42gg2l0206</content></entry></data> 2023-01-10 21:29:41 | target: http://localhost:8088 2023-01-10 21:29:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-01-10 21:29:41 | entity: <data><node>node_rwc3b40204</node><expire-at>2023-01-11T05:29:36Z</expire-at><entry><content>content_42gg2l0206</content></entry></data> 2023-01-10 21:29:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:29:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:29:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b6b278e5-bf3c-4cae-aa78-61188abc5114</value></item-id></result> 2023-01-10 21:29:41 | contains: true 2023-01-10 21:29:41 | [Mutex] waiting for: [user_regulartcun2x0203@test-domain.com:message:received:content_42gg2l0206] 2023-01-10 21:29:56 | [Mutex] timeout. Not received [user_regulartcun2x0203@test-domain.com:message:received:content_42gg2l0206] 2023-01-10 21:29:56 | [Mutex] isItemNotified: user_regulartcun2x0203@test-domain.com:message:received:content_42gg2l0206 :: false 2023-01-10 21:29:56 | ===== publishing normal message (to offline) 2023-01-10 21:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:29:56 | command: <data><node>node_rwc3b40204</node><entry><content>content_o43rl90207</content></entry></data> 2023-01-10 21:29:56 | target: http://localhost:8088 2023-01-10 21:29:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-01-10 21:29:56 | entity: <data><node>node_rwc3b40204</node><entry><content>content_o43rl90207</content></entry></data> 2023-01-10 21:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0b2ba0f3-5fe5-4902-9e18-ddf70b95a3d5</value></item-id></result> 2023-01-10 21:29:56 | contains: true 2023-01-10 21:30:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 21:30:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 21:30:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 21:30:01 | [Mutex] waiting for: [user_regulartcun2x0203@test-domain.com:message:received:content_o43rl90207] 2023-01-10 21:30:01 | [Mutex] waiting for: [user_regulartcun2x0203@test-domain.com:message:received:content_o43rl90207] 2023-01-10 21:30:01 | [Mutex] received everything. 2023-01-10 21:30:01 | [Mutex] isItemNotified: user_regulartcun2x0203@test-domain.com:message:received:content_o43rl90207 :: true 2023-01-10 21:30:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-01-10 21:30:01 | [Mutex] received everything. 2023-01-10 21:30:01 | [Mutex] isItemNotified: node_rwc3b40204:subscribe_node:success :: true 2023-01-10 21:30:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:30:01 | command: <data><node>node_rwc3b40204</node><expire-at>2023-01-11T05:30:06Z</expire-at><entry><content>content_21703w0208</content></entry></data> 2023-01-10 21:30:01 | target: http://localhost:8088 2023-01-10 21:30:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-01-10 21:30:01 | entity: <data><node>node_rwc3b40204</node><expire-at>2023-01-11T05:30:06Z</expire-at><entry><content>content_21703w0208</content></entry></data> 2023-01-10 21:30:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:30:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:30:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8fe899fc-36ae-49ed-afe8-eb5e5e968d30</value></item-id></result> 2023-01-10 21:30:01 | contains: true 2023-01-10 21:30:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 21:30:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 21:30:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 21:30:09 | [Mutex] waiting for: [user_regulartcun2x0203@test-domain.com:message:received:content_21703w0208] 2023-01-10 21:30:24 | [Mutex] timeout. Not received [user_regulartcun2x0203@test-domain.com:message:received:content_21703w0208] 2023-01-10 21:30:24 | [Mutex] received everything. 2023-01-10 21:30:24 | [Mutex] isItemNotified: user_regulartcun2x0203@test-domain.com:message:received:content_21703w0208 :: false 2023-01-10 21:30:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_21703w0208 :: true |