phoenixframework | phoenixframework是一个支持对webUI,接口,web性能,mobile app或mobile
kandi X-RAY | phoenixframework Summary
kandi X-RAY | phoenixframework Summary
phoenixframework是一个自动化测试平台,集代码托管, 分机(node节点)管理,定时任务, 分布式或并发等方式执行通过phoenix_develop模块调试好的用例。 平台使用SSH4开发,覆盖了webgui,接口,移动mobile等终端的测试与监控。 目前webGUI模块已经完成,兼容chrome,Firefox,IE,httpunit以及phantomjs驱动。 平台原生支持对svn,socket,ftpserver服务器的操作。 平台通过phoenix_develop模块在客户端开发及调试代码, 然后通过将代码托管到phoenix_web控制端, 控制端通过指派多个phoenix_node端方式执行测试用例。 通过使用phoenix_develop开发用例代码的示例, 用例如果在本地调试时没有问题,那么就可以放到控制端进行执行了。 平台网站:或 环境搭建及使用说明书:搜索:测完啦或phoenixframe会有更多关于平台的示例 最新版本:1.5.0 这是一个全新的版本,对几个关键功能代码做了重构,重构后易用性和后续的功能扩展都有重要作用。 phoenix_web:各table增加了根据id排序功能 phoenix_web:增加部分样式,如字体调整,增删改的链接样式 phoenix_node:修复性能测试时必须开启监控页面才能收集被监控机数据的bug phoenix_web:代码编辑页面引入新的代码编辑器 phoenix_web:页面js代码重构 phoenix_webdriver:代码重构,更易扩展 phoenix_webdriver:支持自定义插入步骤日志 phoenix_mobiledriver:代码重构 phoenix_db:增加了多个实用方法,如可以直接queryObject phoenix_web:任务/性能测试列表增加自动更新任务状态功能 phoenix_web:shiro与spring做了集成 phoenix_web:为shiro增加了缓存支持 phoenix_webdriver:数据及定位信息数据由自动加载改为手动加载 phoenix_webdriver:各个模块的备注信息完善 上一版本:1.4.8 phoenix_node:优化性能测试时,监控机的CPU及内存数据等的可读性 phoenix_web:增加了ehcache缓存 phoenix_web:增加数据库连接池查看 phoenix_webdriver:commandExecutor方法bug修复 phoenix_webdriver:检查点bug修复 phoenix_web:定时任务细节bug修复 phoenix_webdriver:增加js执行的驱动,再也无需手动强转 phoenix_web:修复接口测试结果统计bug phoenix_web:个别页面的js重构 phoenix_node:性能测试相关模版细节bug修复 phoenix_web:多个地方增加删除确认提示 phoenix_web:日志增加批量管理方法 phoenix_webdriver:selenide更新到最新3.6,selenium更新到2.48稳定版(兼容safari),selendroid更新到最新0.17 phoenix_webdriver:支持最新的Firefox41/chrome51/IE10/IE11/IE Edge/Safari版本。IE驱动更新到2.53,chrome驱动更新到2.21 系统名称:自动化测试平台 系统介绍: 【支持的部署方式】:J2EE,Jenkins,maven,J2SE,分布式部署,Jetty部署 【技术说明】:Apache quartz,Webmagic,httpunit,selendroid, selenide,Spring+SpringMVC+Hibernate4+Shiro,Executor,Forkjoin,Maven项目管理, Bootstrap,JQuery,JDK动态编译+反射+执行,DWR,highchat 【权限管理】:方法级别的权限控制 【覆盖系统类型】:WEB GUI自动化测试,接口自动化测试,Android/IOS app自动化测试, WEB GUI自动化监控,接口自动化监控,数据库测试,简单安全性测试 【消息通知】:Email异步发送,短信异步发送,在线日志检视,统计报表生成 【模块介绍】 phoenix_develop:用例代码开发模块 phoenix_node:分布式执行node节点 phoenix_web:平台控制端 phoenix_webdriver:webGUI自动化测试模块 phoenix_mobiledriver:移动设备测试模块 phoenix_interface:接口测试系统 phoenix_db:数据库操作模块,对hibernate4的封装 phoenix_ftpclient:ftp服务器操作 phoenix_svnclient:对svn进行操作 phoenix_telentclient:对socket服务器进行操作 phoenix_imgreader:验证码及图片的识别模块 phoenix_browser:phoenix定制浏览器,用于属性录制 phoenix_recorder:用于对执行过程录制回放 phoenix_tcpserver:可独立部署在Windows和Linux,用于特殊场景下的操作。如生成或执行shell phoenix_jbehave:行为驱动支持 phoenix_jmeter:基于jmeter定制的专门用于web系统性能测试的模块 页面截图: 程序架构图 测试用例管理界面 测试任务管理界面 性能测试结果界面 业务树结构界面.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of phoenixframework
phoenixframework Key Features
phoenixframework Examples and Code Snippets
Community Discussions
Trending Discussions on phoenixframework
QUESTION
I am toying with Phoenix LiveView and I have setup an app with mix phx.new demo --live --no-ecto
.
My primary objective is to create a release of this app, so then I can adapt it to what I need, but I am having trouble.
ProblemIn order to create a release for my demo app I followed the Deploying with releases tutorial and changed all the necessary files.
Added the following to my mix.exs
:
ANSWER
Answered 2021-Jan-22 at 09:41The issue was in my original configuration file config/config.exs
.
I had
QUESTION
I am trying to do a Phoenix LiveView project to learn how it works. To this extent, I have, in my windows 10 machine, installed Elixir and NPM via chocolatey. I have also successfully run the commands:
...ANSWER
Answered 2021-Feb-01 at 11:37The issue here was the node-sass version. There is currently a bug with Node 15 and that package.
The issue can be fixed by using the command:
npm i --legacy-peer-deps
QUESTION
I want to change a form in my existing Phoenix app to use LiveView so I can take advantage of the better image uploading capability described here. However the documentation that I've seen only talks about running mix phx.new my_app --live
to set it up. How can I add it to an existing app instead?
ANSWER
Answered 2021-Feb-13 at 07:34The official installation guide is actually mostly about how to add it to an existing Phoenix project (everything except the first paragraph basically):
If you are using earlier Phoenix versions or your app already exists, keep on reading.
QUESTION
I'm trying to wire up Angular 9
as a client with phoenix.js to connect to existing phoenix channel.
First, I created an angular app via cli command and I downloaded phoenix via npm install phoenix
.
Then I added phoenix path in angular.json
ANSWER
Answered 2020-Apr-30 at 23:00i think should be like this and you no need add js into "scripts" if you install it with "npm i -S phoenix"
have no access to test it with catalx
QUESTION
A Phoenix 1.4.11 application with this resource:
...ANSWER
Answered 2020-Jan-21 at 18:57As you might see from the source code, first_or_create
executes two queries against the database if there is no record yet
QUESTION
I have a form in a Phoenix LiveView that contains a file_input
. I want to use it to allow a user to upload an image. I'm having trouble understanding what the form is sending to my backend, and what I can do with it. I expected a %Plug.Upload{} representation of the image file, as described in documentation, but instead I just get "[object File]"
.
Note that I am not backing the form with a changeset, because I am not using Ecto:
...ANSWER
Answered 2020-Jan-16 at 01:43As @sbacaro pointed out, file uploads are not yet supported in LiveView forms.
More info on this:
- https://github.com/phoenixframework/phoenix_live_view/issues/104
- https://elixirforum.com/t/elixirconf-2019-how-liveview-handles-file-uploads-gary-rennie/25092
I implemented a Javascript workaround to manually send the form without refreshing the page (so that other parts of the LiveView an continue to function normally).
But were also issues with the way Phoenix handled CSRF tokens in LiveViews. It turns out the LiveView creates a new token when the socket connects from the client, and this token won't be recognized by controllers listening to POSTs from the form. To workaround this you need to manually pass the token into the LiveView.
Overall, this workaround works fine, but I hope that someday in the future someone will point out here that file uploads have achieved support in LiveViews and share an easier way.
My form now looks like this. Note the manual specification of the csrf token:
QUESTION
I am using wasm-pack-plugin in order to compile some rust code into my webpack project.
I am serving my javascript from localhost:4000/js/app.js
. I have the following in my app.js
file.
ANSWER
Answered 2019-Sep-15 at 19:22You can try setting the output.publicPath
:
QUESTION
I'm using Webpack to compile my site and the Workbox Webpack Plugin to compile the service worker.
Despite the manifest created by Workbox containing a link to an array of correct chunk names (with the correct hashes for that particular build), the Chrome DevTools don't seem to include the chunks in the precache list (DevTools > Application > Cache Storage).
Here is my configuration for the plugin:
...ANSWER
Answered 2019-Jul-26 at 15:05As per Jeff's comment on the GitHub issue, this was due to a UI confusion on ChromeDev Tools which paginates the Cache Storage Results.
If the total number happens to be greater than 50, you'll need to use the arrows to page through entries, 50 at a time.
Here are the aforementioned inconspicuous page buttons:
Not the best UI IMO.
QUESTION
According to documentation, running mix local.phx
should upgrade the phoenix project generator. Instead, it downgrades it. Is this expected behavior? Why?
ANSWER
Answered 2019-Jul-02 at 12:36It seems that although the latest release at the time of writing is the version you linked to, 1.4.8, the last phx_new
archive assesible by local.phx
was produced for 1.3.4. However, there is a closed bug report on the archive repository with a comment saying that mix local.phx
should no longer be used, and that the correct way is to install it from hex, where 1.4.8
is available:
QUESTION
In my Phoenix/Elixir boilerplate web app I have the typical structure described here, where the simple HelloController
uses a HelloView component to render the templates in the hello/
folder. This works ok.
Now let's say I want to add the snake_view.ex
View component here. This View depends on Phoenix
LiveView and acts slightly different than other ordinary views, that render templates, since it has a render
method in it among the other functions:
ANSWER
Answered 2019-Apr-06 at 10:49At the bottom of this page - https://github.com/phoenixframework/phoenix_live_view - there's at least one step that I'm not seeing in your code.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install phoenixframework
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page