Test duration : 44.715s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.541s |
2022-08-17 23:06:02 |
2022-08-17 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-17 23:06:02 | ------------------------------------ 2022-08-17 23:06:02 | [Mutex] isItemNotified: node_iregdc0204:exists :: false 2022-08-17 23:06:02 | [Mutex] waiting for: [node_iregdc0204:create_node] 2022-08-17 23:06:02 | [Mutex] received everything. 2022-08-17 23:06:02 | [Mutex] isItemNotified: node_iregdc0204:create_node:success :: true 2022-08-17 23:06:02 | [Mutex] waiting for: [node_iregdc0204:subscribe_node] 2022-08-17 23:06:02 | [Mutex] received everything. 2022-08-17 23:06:02 | [Mutex] isItemNotified: node_iregdc0204:subscribe_node:success :: true 2022-08-17 23:06:02 | ===== publishing normal message (to online) 2022-08-17 23:06:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:06:02 | command: <data><node>node_iregdc0204</node><entry><content>content_paxboy0205</content></entry></data> 2022-08-17 23:06:02 | target: http://localhost:8088 2022-08-17 23:06:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-17 23:06:02 | entity: <data><node>node_iregdc0204</node><entry><content>content_paxboy0205</content></entry></data> 2022-08-17 23:06:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:06:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:06:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>70e4b5cc-3177-4583-90bd-cefb0a60a3cb</value></item-id></result> 2022-08-17 23:06:02 | contains: true 2022-08-17 23:06:02 | [Mutex] received everything. 2022-08-17 23:06:02 | [Mutex] isItemNotified: user_regulartzps200203@test-domain.com:message:received:content_paxboy0205 :: true 2022-08-17 23:06:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-17 23:06:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:06:02 | command: <data><node>node_iregdc0204</node><expire-at>2022-08-18T06:05:57Z</expire-at><entry><content>content_yy3jeo0206</content></entry></data> 2022-08-17 23:06:02 | target: http://localhost:8088 2022-08-17 23:06:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-17 23:06:02 | entity: <data><node>node_iregdc0204</node><expire-at>2022-08-18T06:05:57Z</expire-at><entry><content>content_yy3jeo0206</content></entry></data> 2022-08-17 23:06:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:06:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:06:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7345a71e-c14e-443b-af70-b92d2076f32e</value></item-id></result> 2022-08-17 23:06:02 | contains: true 2022-08-17 23:06:02 | [Mutex] waiting for: [user_regulartzps200203@test-domain.com:message:received:content_yy3jeo0206] 2022-08-17 23:06:17 | [Mutex] timeout. Not received [user_regulartzps200203@test-domain.com:message:received:content_yy3jeo0206] 2022-08-17 23:06:17 | [Mutex] isItemNotified: user_regulartzps200203@test-domain.com:message:received:content_yy3jeo0206 :: false 2022-08-17 23:06:17 | ===== publishing normal message (to offline) 2022-08-17 23:06:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:06:18 | command: <data><node>node_iregdc0204</node><entry><content>content_33itir0207</content></entry></data> 2022-08-17 23:06:18 | target: http://localhost:8088 2022-08-17 23:06:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-17 23:06:18 | entity: <data><node>node_iregdc0204</node><entry><content>content_33itir0207</content></entry></data> 2022-08-17 23:06:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:06:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:06:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d299e96d-42c0-4550-a078-eca3eb04ac2c</value></item-id></result> 2022-08-17 23:06:18 | contains: true 2022-08-17 23:06:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-17 23:06:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-17 23:06:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-17 23:06:23 | [Mutex] waiting for: [user_regulartzps200203@test-domain.com:message:received:content_33itir0207] 2022-08-17 23:06:23 | [Mutex] waiting for: [user_regulartzps200203@test-domain.com:message:received:content_33itir0207] 2022-08-17 23:06:23 | [Mutex] received everything. 2022-08-17 23:06:23 | [Mutex] isItemNotified: user_regulartzps200203@test-domain.com:message:received:content_33itir0207 :: true 2022-08-17 23:06:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-17 23:06:23 | [Mutex] received everything. 2022-08-17 23:06:23 | [Mutex] isItemNotified: node_iregdc0204:subscribe_node:success :: true 2022-08-17 23:06:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:06:23 | command: <data><node>node_iregdc0204</node><expire-at>2022-08-18T06:06:28Z</expire-at><entry><content>content_6wp4yi0208</content></entry></data> 2022-08-17 23:06:23 | target: http://localhost:8088 2022-08-17 23:06:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-17 23:06:23 | entity: <data><node>node_iregdc0204</node><expire-at>2022-08-18T06:06:28Z</expire-at><entry><content>content_6wp4yi0208</content></entry></data> 2022-08-17 23:06:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:06:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:06:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ee2da45-e7d5-41ea-bc76-b11f19a8ec25</value></item-id></result> 2022-08-17 23:06:23 | contains: true 2022-08-17 23:06:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-17 23:06:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-17 23:06:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-17 23:06:31 | [Mutex] waiting for: [user_regulartzps200203@test-domain.com:message:received:content_6wp4yi0208] 2022-08-17 23:06:31 | [Mutex] waiting for: [user_regulartzps200203@test-domain.com:message:received:content_6wp4yi0208] 2022-08-17 23:06:46 | [Mutex] timeout. Not received [user_regulartzps200203@test-domain.com:message:received:content_6wp4yi0208] 2022-08-17 23:06:46 | [Mutex] received everything. 2022-08-17 23:06:46 | [Mutex] isItemNotified: user_regulartzps200203@test-domain.com:message:received:content_6wp4yi0208 :: false 2022-08-17 23:06:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6wp4yi0208 :: true |